Expose all errors from all futures joint.

This commit is contained in:
Xin Dong 2020-10-12 09:51:18 -07:00
parent dc1700d728
commit 736f436712

View File

@ -3274,11 +3274,8 @@ ACTOR Future<bool> asyncPrepareVersionsForCommit_impl(StorageServerDisk* self, S
}
if (stopEarly.isReady()) {
// Previous commit is done.
if (durable.isError()) {
throw durable.getError();
}
if (durableMinDelay.isError()) {
throw durableMinDelay.getError();
if (stopEarly.isError()) {
throw stopEarly.getError();
}
break;
}