From c752a53b89b0b7c1875ceeb0698b7f7ca2b8677a Mon Sep 17 00:00:00 2001 From: famouscat Date: Wed, 30 Aug 2023 21:46:16 +0800 Subject: [PATCH] fix a small typo --- src/reader/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reader/mod.rs b/src/reader/mod.rs index e13354b7b2..fe76bd3a9a 100644 --- a/src/reader/mod.rs +++ b/src/reader/mod.rs @@ -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> { // Prevents segment files from getting deleted while we are in the process of opening them