-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
Signed-off-by: Drew S. Ortega <drewortega@google.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -576,10 +576,6 @@ void PrioritySetImpl::updateHosts(uint32_t priority, UpdateHostsParams&& update_ | |
static_cast<HostSetImpl*>(host_sets_[priority].get()) | ||
->updateHosts(std::move(update_hosts_params), std::move(locality_weights), hosts_added, | ||
hosts_removed, overprovisioning_factor); | ||
|
||
This comment has been minimized.
Sorry, something went wrong.
This comment was marked as outdated.
Sorry, something went wrong.
drewsortega
Author
Contributor
|
||
if (!batch_update_) { | ||
runUpdateCallbacks(hosts_added, hosts_removed); | ||
} | ||
} | ||
|
||
void PrioritySetImpl::batchHostUpdate(BatchUpdateCb& callback) { | ||
|
Changing this shared function is probably not desired, unless it has a bug, which should be fixed separately.
I think you are seeking for suggestion if there is any better workaround, you may add some comment here.