fix compiling error

This commit is contained in:
mengranwo 2019-06-20 18:24:10 -07:00 committed by Alex Miller
parent c7148bbb14
commit 819b6e3d6d
1 changed files with 2 additions and 2 deletions

View File

@ -3796,9 +3796,9 @@ ACTOR Future<Void> storageServer( IKeyValueStore* persistentData, StorageServerI
choose {
//after a rollback there might be uncommitted changes.
//for memory storage engine type, wait until recovery is done before commit
wait(self.storage.commit()) {}
when( wait(self.storage.commit())) {}
wait(memoryStoreRecover (persistentData, connFile, self.thisServerID)) {
when( wait(memoryStoreRecover (persistentData, connFile, self.thisServerID))) {
TraceEvent("DisposeStorageServer", self.thisServerID);
throw worker_removed();
}