Skip to content

Commit

Permalink
fix a small typo (#2165)
Browse files Browse the repository at this point in the history
Co-authored-by: famouscat <onismaa@gmail.com>
  • Loading branch information
ethever and famouscat committed Aug 30, 2023
1 parent c4e2708 commit ee6a7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl InnerIndexReader {
}
/// Opens the freshest segments [`SegmentReader`].
///
/// This function acquires a lot to prevent GC from removing files
/// This function acquires a lock to prevent GC from removing files
/// as we are opening our index.
fn open_segment_readers(index: &Index) -> crate::Result<Vec<SegmentReader>> {
// Prevents segment files from getting deleted while we are in the process of opening them
Expand Down

0 comments on commit ee6a7c2

Please sign in to comment.