Apache9 commented on code in PR #5252:
URL: https://github.com/apache/hbase/pull/5252#discussion_r1205069020
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java:
##########
@@ -270,7 +273,9 @@ public Path getCurrentPath() {
private boolean checkBufferQuota() {
// try not to go over total quota
if (!this.getSourceManager().checkBufferQuota(this.source.getPeerId())) {
- Threads.sleep(sleepForRetries);
+ LOG.warn("PeerId={}, sleep {}ms for source reader, current WAL is {}",
Review Comment:
Will this be too aggresive? We may log it every 300ms?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]