fix compiler errors
This commit is contained in:
parent
614c8bc895
commit
52a6496a54
|
@ -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())) {}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue