diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-10 14:53:18 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-10 14:53:18 +0000 |
commit | 582ccd0fca1fe81992f9c566d2ff159370841c69 (patch) | |
tree | de2fb28e12c346326f0a96634f9e41e545b1533f /searchcore | |
parent | d7109d19204eb636e6c1745a30f6f01810220c29 (diff) |
Trigger commit from feedhandler insteda of only in AttributeWriter.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp | 1 | ||||
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/feedhandler.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp index 2863eab1443..52b367fd14b 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp @@ -549,7 +549,6 @@ public: for (auto lidToRemove : _lidsToRemove) { applyRemoveToAttribute(_serialNum, lidToRemove, attr, _onWriteDone); } - attr.commit(false); } } } diff --git a/searchcore/src/vespa/searchcore/proton/server/feedhandler.cpp b/searchcore/src/vespa/searchcore/proton/server/feedhandler.cpp index 209fe39b877..0ec7f1c606a 100644 --- a/searchcore/src/vespa/searchcore/proton/server/feedhandler.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/feedhandler.cpp @@ -284,7 +284,7 @@ FeedHandler::performDeleteBucket(FeedToken token, DeleteBucketOperation &op) { _activeFeedView->handleDeleteBucket(op, token); // Delete bucket itself, should no longer have documents. _bucketDBHandler->handleDeleteBucket(op.getBucketId()); - + initiateCommit(vespalib::steady_clock::now()); } void |