the storage server would not always know about all options when running fetch keys

This commit is contained in:
Evan Tschannen 2018-06-20 17:05:03 -07:00
parent f755961c42
commit 4352db674f
1 changed files with 3 additions and 0 deletions

View File

@ -1808,6 +1808,9 @@ ACTOR Future<Void> fetchKeys( StorageServer *data, AddingShard* shard ) {
state int debug_nextRetryToLog = 1;
state bool isTooOld = false;
//FIXME: The client cache does not notice when servers are added to a team. To read from a local storage server we must refresh the cache manually.
data->cx->invalidateCache(keys);
loop {
try {
TEST(true); // Fetching keys for transferred shard