Skip to content

2025.1.1.0-b56

@hari90 hari90 tagged this 11 Jul 16:07
Summary:
Disable running pg_cron jobs on a xCluster Automatic mode target universe. This enables the user to have pg_cron installed on a xCluster replicated databases with jobs that perform inserts. When a xCluster Switchover or failover operation happens the jobs are enabled on the new primary and blocked on the new target (if any).

Users can disable this feature by setting `cron.yb_enable_on_xcluster_target` to `true`.
Jira: DB-16180

Original commit: 1b524a65c2880d3d42a5c5b482c399b95e25d938 / D45281

Test Plan:
XClusterDDLReplicationTest.PgCron
XClusterDRTest.PgCron

Reviewers: jhe

Reviewed By: jhe

Subscribers: ybase, yql, jason

Differential Revision: https://phorge.dev.yugabyte.com/D45330
Assets 2
Loading