From a20025e10032bd96a6da376c7fef89584d513435 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Tue, 14 Mar 2023 11:57:55 +0000 Subject: Update typos in comments. --- searchlib/src/vespa/searchlib/docstore/logdatastore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searchlib') diff --git a/searchlib/src/vespa/searchlib/docstore/logdatastore.cpp b/searchlib/src/vespa/searchlib/docstore/logdatastore.cpp index cc396e50dda..f35f9fa4cec 100644 --- a/searchlib/src/vespa/searchlib/docstore/logdatastore.cpp +++ b/searchlib/src/vespa/searchlib/docstore/logdatastore.cpp @@ -82,7 +82,7 @@ LogDataStore::LogDataStore(vespalib::Executor &executor, const vespalib::string _compactLidSpaceGeneration() { // Reserve space for 1TB summary in order to avoid locking. - // Even if we have reserved 16 bits for file id ther is no chance that we will even get close to that. + // Even if we have reserved 16 bits for file id there is no chance that we will even get close to that. // Size of files grows with disk size, so 8k files should be more than sufficient. // File ids are reused so there should be no chance of running empty. static_assert(LidInfo::getFileIdLimit() == 65536u); @@ -545,7 +545,7 @@ LogDataStore::allocateFileId(const MonitorGuard & guard) return FileId(i); } } - // This assert is verify that we have not gotten ourselves into a mess + // This assert is to verify that we have not gotten ourselves into a mess // that would require the use of locks to prevent. Just assure that the // below resize is 'safe'. assert(_fileChunks.capacity() > _fileChunks.size()); -- cgit v1.2.3