aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/lid_space_compaction
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-05-10 15:49:36 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-05-10 20:57:23 +0000
commit31fa5fa15ed23e4b5fa848604ac41626199cf390 (patch)
tree0544123707cb9f6389dae8c404111fa152a5f669 /searchcore/src/tests/proton/documentdb/lid_space_compaction
parentaf1f8d076495792bb508ee208815d013c0523dbc (diff)
GC frozen buckets concept
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/lid_space_compaction')
-rw-r--r--searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.cpp7
-rw-r--r--searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.h9
2 files changed, 0 insertions, 16 deletions
diff --git a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.cpp b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.cpp
index cd305c51810..4b9d893eca5 100644
--- a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.cpp
+++ b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.cpp
@@ -163,13 +163,6 @@ MyStorer::startCommit(DoneCallback) {
return CommitResult();
}
-IFrozenBucketHandler::ExclusiveBucketGuard::UP
-MyFrozenBucketHandler::acquireExclusiveBucket(BucketId bucket) {
- return (_bucket == bucket)
- ? ExclusiveBucketGuard::UP()
- : std::make_unique<ExclusiveBucketGuard>(bucket);
-}
-
MyDocumentStore::MyDocumentStore()
: _readDoc(),
_readLid(0)
diff --git a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.h b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.h
index 5063aeff347..348499d937f 100644
--- a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.h
+++ b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_common.h
@@ -3,7 +3,6 @@
#pragma once
#include <vespa/searchcore/proton/server/i_document_scan_iterator.h>
-#include <vespa/searchcore/proton/server/ifrozenbuckethandler.h>
#include <vespa/searchcore/proton/server/imaintenancejobrunner.h>
#include <vespa/searchcore/proton/server/lid_space_compaction_handler.h>
#include <vespa/searchcore/proton/server/remove_operations_rate_tracker.h>
@@ -103,14 +102,6 @@ struct MyStorer : public IOperationStorer {
CommitResult startCommit(DoneCallback) override;
};
-struct MyFrozenBucketHandler : public IFrozenBucketHandler {
- BucketId _bucket;
- MyFrozenBucketHandler() : _bucket() {}
- ExclusiveBucketGuard::UP acquireExclusiveBucket(BucketId bucket) override;
- void addListener(IBucketFreezeListener *) override { }
- void removeListener(IBucketFreezeListener *) override { }
-};
-
struct MyFeedView : public test::DummyFeedView {
explicit MyFeedView(std::shared_ptr<const DocumentTypeRepo> repo)
: test::DummyFeedView(std::move(repo))