1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-28 10:52:03 +08:00

Merge pull request from sfc-gh-satherton/feature-redwood

Feature redwood
This commit is contained in:
Evan Tschannen 2021-01-06 12:26:45 -08:00 committed by GitHub
commit fe281032d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1649,11 +1649,10 @@ public:
if (!cacheEntry.initialized()) {
debug_printf("DWALPager(%s) issuing actual read of %s\n", filename.c_str(), toString(pageID).c_str());
cacheEntry.readFuture = readPhysicalPage(this, (PhysicalPageID)pageID);
cacheEntry.readFuture = forwardError(readPhysicalPage(this, (PhysicalPageID)pageID), errorPromise);
cacheEntry.writeFuture = Void();
}
cacheEntry.readFuture = forwardError(cacheEntry.readFuture, errorPromise);
return cacheEntry.readFuture;
}