mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-03 03:41:53 +08:00
Merge pull request #3888 from dongxinEric/bugfix/3885/fix-silient-se-commit-failure
Fix a silent commit failure in SS commit pipeline
This commit is contained in:
commit
69c6b2aa3b
@ -3273,6 +3273,9 @@ ACTOR Future<bool> asyncPrepareVersionsForCommit_impl(StorageServerDisk* self, S
|
||||
}
|
||||
if (stopEarly.isReady()) {
|
||||
// Previous commit is done.
|
||||
if (stopEarly.isError()) {
|
||||
throw stopEarly.getError();
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
@ -3297,7 +3300,8 @@ ACTOR Future<bool> asyncPrepareVersionsForCommit_impl(StorageServerDisk* self, S
|
||||
// Set the new durable version as part of the outstanding change set, before commit
|
||||
data->storage.makeVersionDurable( newOldestVersion );
|
||||
}
|
||||
debug_advanceMaxCommittedVersion( data->thisServerID, newOldestVersion );
|
||||
debug_advanceMaxCommittedVersion(data->thisServerID, newOldestVersion);
|
||||
|
||||
wait(forgetter.signal());
|
||||
return finalCommit;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user