summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-03-14 11:57:55 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-03-14 11:57:55 +0000
commita20025e10032bd96a6da376c7fef89584d513435 (patch)
tree82aeb20e3db356fe107d24755a88bc4055c990a0 /searchlib
parentfcaa8409c8db254496e0b16faba37f0a930243c5 (diff)
Update typos in comments.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/docstore/logdatastore.cpp4
1 files changed, 2 insertions, 2 deletions
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());