fix compiler errors

This commit is contained in:
Evan Tschannen 2020-10-04 16:50:54 -07:00
parent 614c8bc895
commit 52a6496a54
2 changed files with 2 additions and 2 deletions

View File

@ -4476,7 +4476,7 @@ ACTOR Future<Void> monitorBatchLimitedTime(Reference<AsyncVar<ServerDBInfo>> db,
loop {
wait( delay(SERVER_KNOBS->METRIC_UPDATE_RATE) );
state Reference<ProxyInfo> proxies(new ProxyInfo(db->get().client.proxies));
state Reference<ProxyInfo> proxies(new ProxyInfo(db->get().client.proxies, false));
choose {
when (wait(db->onChange())) {}

View File

@ -3950,7 +3950,7 @@ ACTOR Future<Void> replaceInterface( StorageServer* self, StorageServerInterface
loop {
state Future<Void> infoChanged = self->db->onChange();
state Reference<ProxyInfo> proxies( new ProxyInfo(self->db->get().client.proxies) );
state Reference<ProxyInfo> proxies( new ProxyInfo(self->db->get().client.proxies, false) );
choose {
when( GetStorageServerRejoinInfoReply _rep = wait( proxies->size() ? basicLoadBalance( proxies, &MasterProxyInterface::getStorageServerRejoinInfo, GetStorageServerRejoinInfoRequest(ssi.id(), ssi.locality.dcId()) ) : Never() ) ) {
state GetStorageServerRejoinInfoReply rep = _rep;