Retract changes to apply-metadata-mutations; the change to the storagecache in commit proxy data is not required unless the get request path is to be made sensitive to the SSI state
This commit is contained in:
parent
301e64a1b6
commit
62b7e79482
|
@ -40,12 +40,6 @@ Reference<StorageInfo> getStorageInfo(UID id,
|
|||
(*storageCache)[id] = storageInfo;
|
||||
} else {
|
||||
storageInfo = cacheItr->second;
|
||||
if (!storageInfo->interf.isAcceptingRequests()) {
|
||||
storageInfo->interf = decodeServerListValue(txnStateStore->readValue(serverListKeyFor(id)).get().get());
|
||||
if (storageInfo->interf.isAcceptingRequests()) {
|
||||
TraceEvent(SevInfo, "StorageInfoUpdatedAcceptingRequests", storageInfo->interf.id()).log();
|
||||
}
|
||||
}
|
||||
}
|
||||
return storageInfo;
|
||||
}
|
||||
|
@ -238,7 +232,7 @@ private:
|
|||
txnStateStore->set(KeyValueRef(m.param1, m.param2));
|
||||
if (storageCache) {
|
||||
auto cacheItr = storageCache->find(id);
|
||||
if (cacheItr == storageCache->end() || !cacheItr->second->interf.isAcceptingRequests()) {
|
||||
if (cacheItr == storageCache->end()) {
|
||||
Reference<StorageInfo> storageInfo = makeReference<StorageInfo>();
|
||||
storageInfo->tag = tag;
|
||||
Optional<Key> interfKey = txnStateStore->readValue(serverListKeyFor(id)).get();
|
||||
|
|
Loading…
Reference in New Issue