diff --git a/documentation/sphinx/source/release-notes.rst b/documentation/sphinx/source/release-notes.rst index be9517818d..d64825fc8e 100644 --- a/documentation/sphinx/source/release-notes.rst +++ b/documentation/sphinx/source/release-notes.rst @@ -2,6 +2,14 @@ Release Notes ############# +6.2.16 +====== + +Fixes +----- + +* Storage servers could fail to advance their version correctly in response to empty commits. `(PR #) `_. + 6.2.15 ====== diff --git a/fdbserver/storageserver.actor.cpp b/fdbserver/storageserver.actor.cpp index 3b201e605b..07d030d9fc 100644 --- a/fdbserver/storageserver.actor.cpp +++ b/fdbserver/storageserver.actor.cpp @@ -2768,9 +2768,9 @@ ACTOR Future update( StorageServer* data, bool* pReceivedUpdate ) if(ver != invalidVersion) { data->lastVersionWithData = ver; - } else { - ver = cloneCursor2->version().version - 1; - } + } + ver = cloneCursor2->version().version - 1; + if(injectedChanges) data->lastVersionWithData = ver; data->updateEagerReads = NULL;