Skip to content

praefect: replicate immediately after track-repository

John Cai requested to merge jc-replicate-immediately into master

Currently when praefect track-repository is used to track a repository in the praefect database, replication events are not generated after the records are inserted into the database.

This MR fixes that. However, even with these replication events created, replication will not happen for 5 minutes as it relies on the default loop of the replication manager. This MR adds an option to the track-repository subcommand whereby a customer could pass in a flag -replicate-immediately to force a replication immediately.

closes: #3909 (closed), #3892 (closed)

Edited by John Cai

Merge request reports

Loading