mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 02:12:56 +00:00
review: remove superflous sequence number bump
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user