review: remove superflous sequence number bump

This commit is contained in:
Vlad Lazar
2024-06-17 11:46:39 +01:00
parent d86ddf2b76
commit 2a7f224306

View File

@@ -5192,7 +5192,6 @@ impl Service {
};
if tenant_shard.intent.demote_attached(scheduler, node_id) {
tenant_shard.sequence = tenant_shard.sequence.next();
match tenant_shard.schedule(scheduler, &mut schedule_context) {
Err(e) => {
tracing::warn!(%tid, "Scheduling error when draining pageserver {} : {e}", node_id);