mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 01:11:50 +02:00
Add DS->SQL replay cron job to production (#1292)
* Add DS->SQL replay cron job to production This won't do anything until we set the migration schedule to DATASTORE_PRIMARY. Actions in order: 1. Add this cron job (it'll be a no-op) 2. Run the init-sql-pipeline to populate production's SQL DB 3. Set the SqlReplayCheckpoint to a time before the smear backup that was used in step #1 (maybe 30 minutes) 4. Set the database migration schedule to transition to DATASTORE_PRIMARY at some point
This commit is contained in:
parent
48d64397f4
commit
b0f2a5f39b
1 changed files with 9 additions and 0 deletions
|
@ -330,4 +330,13 @@
|
|||
<schedule>every day 15:00</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
|
||||
<cron>
|
||||
<url><![CDATA[/_dr/cron/fanout?queue=replay-commit-logs-to-sql&endpoint=/_dr/task/replayCommitLogsToSql&runInEmpty]]></url>
|
||||
<description>
|
||||
Replays recent commit logs from Datastore to the SQL secondary backend.
|
||||
</description>
|
||||
<schedule>every 3 minutes</schedule>
|
||||
<target>backend</target>
|
||||
</cron>
|
||||
</cronentries>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue