JeongDaeKim commented on issue #749: HBASE-23205 Correctly update the position 
of WALs currently being replicated
URL: https://github.com/apache/hbase/pull/749#issuecomment-564501788
 
 
   > We might want to expose ReplicationSourceWALReaderThread.lastReadPosition, 
in order to eventually have an accurate monitoring info. Currently we have 
_DumpReplicationQueues` which just reads info from ZK. Maybe we should print a 
warning there that reported log position may not be accurate
   
   I think "reported log position" from DumpReplicationQueues could not be 
current read position before this PR (no updates during making a batch). 
`DumpReplicationQueues` works well for their purpose.
   If we want to see lastReadPosition for monitoring, what about adding some 
messages to 
https://github.com/apache/hbase/blob/branch-1.4/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java#L474
   
   > Can we add a 3rd test on TestWalEntryStream that adds few filterable 
entries, then adds a non filterable one, and checks if this non filterable 
comes in from the batch?
   
   I see, added a new test

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to