We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4e2708 commit ee6a7c2Copy full SHA for ee6a7c2
src/reader/mod.rs
@@ -191,7 +191,7 @@ impl InnerIndexReader {
191
}
192
/// Opens the freshest segments [`SegmentReader`].
193
///
194
- /// This function acquires a lot to prevent GC from removing files
+ /// This function acquires a lock to prevent GC from removing files
195
/// as we are opening our index.
196
fn open_segment_readers(index: &Index) -> crate::Result<Vec<SegmentReader>> {
197
// Prevents segment files from getting deleted while we are in the process of opening them
0 commit comments