Adds drop mirror stats (present in peerdb_stats schema) functionality to drop mirror. The failure of this step is not fatal to drop_flow. Exposed in UI as seen above.
Resync now drops mirror stats
In query layer, drop mirror does not drop stats. Extending the drop mirror command syntax to support this will be done if there's demand
Also:
Adds a column - parent_mirror_name (TEXT) to qrep_runs and qrep_partitions tables.
Adds a field - parentMirrorName (string) to QRep Config proto
Adaps monitoring.go and initial load stats endpoint to use parent mirror name
Parent mirror name is the name of the parent peer flow in case of initial load clone. It is the same as flow name for QRep and XMin mirrors
This PR:
peerdb_stats
schema) functionality to drop mirror. The failure of this step is not fatal todrop_flow
. Exposed in UI as seen above.Also:
parent_mirror_name (TEXT)
toqrep_runs
andqrep_partitions
tables.parentMirrorName (string)
to QRep Config protomonitoring.go
and initial load stats endpoint to use parent mirror nameParent mirror name is the name of the parent peer flow in case of initial load clone. It is the same as flow name for QRep and XMin mirrors