The storage server could fail to update its version to the latest processed if the peeked data contained a non-empty commit and ended with an empty commit.
This commit is contained in:
parent
a4df807404
commit
d1b87f8b7f
|
@ -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 #) <https://github.com/apple/foundationdb/pull/>`_.
|
||||
|
||||
6.2.15
|
||||
======
|
||||
|
||||
|
|
|
@ -2768,9 +2768,9 @@ ACTOR Future<Void> 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;
|
||||
|
|
Loading…
Reference in New Issue