diff options
author | Tor Egge <Tor.Egge@yahooinc.com> | 2022-03-18 12:28:53 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@yahooinc.com> | 2022-03-18 12:33:18 +0100 |
commit | 065ae62c0ad42589eaf33e4f06e8686111d5725c (patch) | |
tree | 5a72c132e3d59508222c598fe7f6f29397907a3a /searchcore | |
parent | 44fe5712a94af9f4966892df7dd5c2f95b54e3a4 (diff) |
Use std::atomic<uint32_t> for committed doc id limit.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp | 2 | ||||
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp index 2e6a7087b69..5d2f358e4c8 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp @@ -992,7 +992,7 @@ DocumentMetaStore::populateActiveBuckets(BucketId::List buckets) } void -DocumentMetaStore::clearDocs(DocId lidLow, DocId lidLimit) +DocumentMetaStore::clearDocs(DocId lidLow, DocId lidLimit, bool) { assert(lidLow <= lidLimit); assert(lidLimit <= getNumDocs()); diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.h b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.h index 5cb0b1469fd..e393ad16178 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.h +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.h @@ -246,7 +246,7 @@ public: const search::GrowableBitVector &getActiveLids() const { return _lidAlloc.getActiveLids(); } - void clearDocs(DocId lidLow, DocId lidLimit) override; + void clearDocs(DocId lidLow, DocId lidLimit, bool in_shrink_lid_space) override; /* * Called by document db executor to unblock shrinking of lid |