mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
topology_coordinator: fix indentation in generate_migration_updates
Signed-off-by: Lakshmi Narayanan Sreethar <lakshmi.sreethar@scylladb.com>
This commit is contained in:
@@ -1179,11 +1179,11 @@ class topology_coordinator : public endpoint_lifecycle_subscriber {
|
||||
|
||||
future<> generate_migration_updates(std::vector<canonical_mutation>& out, const group0_guard& guard, const migration_plan& plan) {
|
||||
if (plan.resize_plan().finalize_resize.empty() || plan.has_nodes_to_drain()) {
|
||||
// schedule tablet migration only if there are no pending resize finalisations or if the node is draining.
|
||||
for (const tablet_migration_info& mig : plan.migrations()) {
|
||||
co_await coroutine::maybe_yield();
|
||||
generate_migration_update(out, guard, mig);
|
||||
}
|
||||
// schedule tablet migration only if there are no pending resize finalisations or if the node is draining.
|
||||
for (const tablet_migration_info& mig : plan.migrations()) {
|
||||
co_await coroutine::maybe_yield();
|
||||
generate_migration_update(out, guard, mig);
|
||||
}
|
||||
}
|
||||
|
||||
auto sched_time = db_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user