aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-11-23 14:05:00 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-11-23 14:05:00 +0000
commit9de2c76f2a95c6ab5901c3956b273455180baea4 (patch)
tree147636150b93ae58120bed7bbb0b61aff0b0cb93 /searchcore
parent7425efd22de76f883dd2c3d8c15a82a205bb3a18 (diff)
Allow compactLidSpace with same serial number.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp
index d69f07354ef..77b6d8d1392 100644
--- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp
+++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp
@@ -259,7 +259,7 @@ applyCommit(CommitParam param, AttributeWriter::OnWriteDoneType , AttributeVecto
void
applyCompactLidSpace(uint32_t wantedLidLimit, SerialNum serialNum, AttributeVector &attr)
{
- if (attr.getStatus().getLastSyncToken() < serialNum) {
+ if (attr.getStatus().getLastSyncToken() <= serialNum) {
/*
* If the attribute is an empty placeholder attribute due to
* later config changes removing the attribute then it might