Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.3.0, 2.4.0, 2.2.5
-
None
-
None
Description
When replicating in 1 way, from source to target, status 'replication' on source always dumps SINK with meaningless metrics. It only makes sense when running the command on target cluster.
status 'replication' on source, for example. AgeOfLastAppliedOp is always zero and TimeStampsOfLastAppliedOp does not get updated from the time the RS started since it's not acting as sink.
source-1.com SOURCE: PeerID=1, AgeOfLastShippedOp=0, SizeOfLogQueue=0, TimeStampsOfLastShippedOp=Mon Oct 29 23:44:14 PDT 2018, Replication Lag=0 SINK : AgeOfLastAppliedOp=0, TimeStampsOfLastAppliedOp=Thu Oct 25 23:56:53 PDT 2018
status 'replication' on target works as expected. SOURCE is empty as it's not acting as source:
target-1.com SOURCE: SINK : AgeOfLastAppliedOp=70, TimeStampsOfLastAppliedOp=Mon Oct 29 23:44:08 PDT 2018
This is because getReplicationLoadSink, called in admin.rb, always returns a value (not null).
Attachments
Attachments
Issue Links
- blocks
-
HBASE-21405 [DOC] Add Details about Output of "status 'replication'"
- Resolved
- links to