mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 09:52:54 +00:00
pageserver: don't try and ingest XLOG_CHECKPOINT_SHUTDOWN on nonzero
shards
This commit is contained in:
@@ -1157,6 +1157,7 @@ impl WalIngest {
|
||||
// See also the neon code changes in the InitWalRecovery() function.
|
||||
if xlog_checkpoint.oldestActiveXid == pg_constants::INVALID_TRANSACTION_ID
|
||||
&& info == pg_constants::XLOG_CHECKPOINT_SHUTDOWN
|
||||
&& self.shard.is_shard_zero()
|
||||
{
|
||||
let oldest_active_xid = if pg_version >= 17 {
|
||||
let mut oldest_active_full_xid = cp.nextXid.value;
|
||||
|
||||
Reference in New Issue
Block a user