mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-02 21:10:38 +00:00
control_plane: update shard config from location_config
This commit is contained in:
@@ -1273,6 +1273,7 @@ impl Service {
|
||||
}
|
||||
}
|
||||
|
||||
shard.config = req.config.tenant_conf.clone();
|
||||
shard.schedule(scheduler)?;
|
||||
|
||||
let maybe_waiter = shard.maybe_reconcile(
|
||||
|
||||
@@ -615,6 +615,10 @@ impl TenantState {
|
||||
return None;
|
||||
};
|
||||
|
||||
// Advance the sequence before spawning a reconciler, so that sequence waiters
|
||||
// can distinguish between before+after the reconcile completes.
|
||||
self.sequence = self.sequence.next();
|
||||
|
||||
let reconciler_cancel = cancel.child_token();
|
||||
let mut reconciler = Reconciler {
|
||||
tenant_shard_id: self.tenant_shard_id,
|
||||
|
||||
Reference in New Issue
Block a user