mirror of
https://github.com/google/nomulus.git
synced 2025-08-12 20:49:37 +02:00
Update cron jobs in crash (#1284)
* Update cron jobs in crash Add wipeout cron jobs for the duration of migration testing with production data. * Disable Datastore-related cron jobs
This commit is contained in:
parent
ef1a1f9e11
commit
6357907d95
1 changed files with 28 additions and 5 deletions
|
@ -102,6 +102,7 @@
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
|
||||||
|
<!-- Disabled for sql-only tests.
|
||||||
<cron>
|
<cron>
|
||||||
<url><![CDATA[/_dr/cron/commitLogCheckpoint]]></url>
|
<url><![CDATA[/_dr/cron/commitLogCheckpoint]]></url>
|
||||||
<description>
|
<description>
|
||||||
|
@ -110,6 +111,7 @@
|
||||||
<schedule>every 3 minutes synchronized</schedule>
|
<schedule>every 3 minutes synchronized</schedule>
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
-->
|
||||||
|
|
||||||
<cron>
|
<cron>
|
||||||
<url><![CDATA[/_dr/task/deleteContactsAndHosts]]></url>
|
<url><![CDATA[/_dr/task/deleteContactsAndHosts]]></url>
|
||||||
|
@ -133,6 +135,7 @@
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
|
||||||
|
<!-- Disabled for sql-only tests
|
||||||
<cron>
|
<cron>
|
||||||
<url><![CDATA[/_dr/cron/fanout?queue=export-snapshot&endpoint=/_dr/task/backupDatastore&runInEmpty]]></url>
|
<url><![CDATA[/_dr/cron/fanout?queue=export-snapshot&endpoint=/_dr/task/backupDatastore&runInEmpty]]></url>
|
||||||
<description>
|
<description>
|
||||||
|
@ -142,14 +145,12 @@
|
||||||
</description>
|
</description>
|
||||||
<!--
|
<!--
|
||||||
Keep google.registry.export.CheckBackupAction.MAXIMUM_BACKUP_RUNNING_TIME less than
|
Keep google.registry.export.CheckBackupAction.MAXIMUM_BACKUP_RUNNING_TIME less than
|
||||||
this interval. -->
|
this interval. - ->
|
||||||
<schedule>every day 06:00</schedule>
|
<schedule>every day 06:00</schedule>
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
-->
|
||||||
|
|
||||||
<!--
|
|
||||||
Removed for the duration of load testing
|
|
||||||
TODO(b/71607184): Restore after loadtesting is done
|
|
||||||
<cron>
|
<cron>
|
||||||
<url><![CDATA[/_dr/cron/fanout?queue=retryable-cron-tasks&endpoint=/_dr/task/deleteProberData&runInEmpty]]></url>
|
<url><![CDATA[/_dr/cron/fanout?queue=retryable-cron-tasks&endpoint=/_dr/task/deleteProberData&runInEmpty]]></url>
|
||||||
<description>
|
<description>
|
||||||
|
@ -159,7 +160,6 @@
|
||||||
<timezone>UTC</timezone>
|
<timezone>UTC</timezone>
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- TODO: Add borgmon job to check that these files are created and updated successfully. -->
|
<!-- TODO: Add borgmon job to check that these files are created and updated successfully. -->
|
||||||
<cron>
|
<cron>
|
||||||
|
@ -200,6 +200,7 @@
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
|
||||||
|
<!-- Disabled for sql-only tests.
|
||||||
<cron>
|
<cron>
|
||||||
<url><![CDATA[/_dr/cron/fanout?queue=replay-commit-logs-to-sql&endpoint=/_dr/task/replayCommitLogsToSql&runInEmpty]]></url>
|
<url><![CDATA[/_dr/cron/fanout?queue=replay-commit-logs-to-sql&endpoint=/_dr/task/replayCommitLogsToSql&runInEmpty]]></url>
|
||||||
<description>
|
<description>
|
||||||
|
@ -208,4 +209,26 @@
|
||||||
<schedule>every 3 minutes</schedule>
|
<schedule>every 3 minutes</schedule>
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The next two wipeout jobs are required when crash has production data.
|
||||||
|
-->
|
||||||
|
<cron>
|
||||||
|
<url><![CDATA[/_dr/task/wipeOutCloudSql]]></url>
|
||||||
|
<description>
|
||||||
|
This job runs an action that deletes all data in Cloud SQL.
|
||||||
|
</description>
|
||||||
|
<schedule>every saturday 03:07</schedule>
|
||||||
|
<target>backend</target>
|
||||||
|
</cron>
|
||||||
|
|
||||||
|
<cron>
|
||||||
|
<url><![CDATA[/_dr/task/wipeOutDatastore]]></url>
|
||||||
|
<description>
|
||||||
|
This job runs an action that deletes all data in Cloud Datastore.
|
||||||
|
</description>
|
||||||
|
<schedule>every saturday 03:07</schedule>
|
||||||
|
<target>backend</target>
|
||||||
|
</cron>
|
||||||
</cronentries>
|
</cronentries>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue