Compare commits

...

1 Commits

Author SHA1 Message Date
John Spray
d713260f1a pageserver: don't try and ingest XLOG_CHECKPOINT_SHUTDOWN on nonzero
shards
2025-02-10 14:02:47 +01:00

View File

@@ -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;