Skip to content

Geo: Improve replication status. Using pg_stat_wal_receiver

Valery Sizov requested to merge 3256-improve-replication-status-2 into master

What does this MR do?

Previously we could not determine if streaming is happening right now. PG since 9.6 has a special view pg_stat_wal_receiver which can be used to query the current status of the replication.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

image

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #3256 (closed)

Edited by Stan Hu

Merge request reports

Loading