joshelser opened a new pull request #2193: URL: https://github.com/apache/hbase/pull/2193
Testing done: ``` create 'j', 'f' add_peer '1', ENDPOINT_CLASSNAME => 'org.apache.hadoop.hbase.replication.TestReplicationEndpoint$SleepingReplicationEndpointForTest' alter 'j', {NAME=>'f', REPLICATION_SCOPE=>1} (1..10000).each{|y| (1..100).each{|x| put 'j', "#{x}#{y}", 'f:q', "#{x}#{y}"}; sleep 0.5} ``` And then to observe: 1. set `replication.stats.thread.period.seconds` to `15` in hbase-site.xml and tail regionserver log 2. `watch -n 15 "curl -s http://mizar.local:16030/jmx | jq '.beans[] | select(.name == \"Hadoop:service=HBase,name=RegionServer,sub=Replication\") | .\"source.walReaderEditsBufferUsage\"'"` Can see the buffer grow. When the puts run out, the buffer eventually drains. ---------------------------------------------------------------- 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: us...@infra.apache.org