This repository was archived by the owner on Jan 27, 2022. It is now read-only.
Add the remote and local lsn to the subscription status#8
Merged
Fryguy merged 1 commit intoManageIQ:masterfrom Feb 27, 2017
Merged
Conversation
carbonin
commented
Feb 22, 2017
lib/pg/pglogical/client.rb
Outdated
| # slot_name | ||
| # replication_sets | ||
| # forward_origins | ||
| # remote_replication_lsn |
Member
Author
There was a problem hiding this comment.
Add definition of LSN (log sequence number)
These values can be used to determine replication lag and are directly related to the subscription by the slot name. A user can use this value to determine the replication lag by using pg_xlog_location_diff with the provider node's pg_current_xlog_insert_location.
3981f1e to
fbec407
Compare
Member
|
Checked commit carbonin@fbec407 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 **
|
carbonin
added a commit
to carbonin/manageiq
that referenced
this pull request
Feb 22, 2017
This will show the replication backlog in bytes for the particular subscription. This uses the functionality added to the pg-pglogical gem in ManageIQ/pg-pglogical#8
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These values can be used to determine replication lag and are directly related to the subscription by the slot name.
A user can use this value to determine the replication lag by using
pg_xlog_location_diffwith the provider node'spg_current_xlog_insert_location.