Skip to content

Commit 100cd23

Browse files
authored
HBASE-29698 Correct log message in ReplicationSourceShipper.clearWALEntryBatch (#7431)
Signed-off-by: Duo Zhang <[email protected]>
1 parent 3779a6e commit 100cd23

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceShipper.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,9 @@ void clearWALEntryBatch() {
328328
while (this.isAlive() || this.entryReader.isAlive()) {
329329
try {
330330
if (EnvironmentEdgeManager.currentTime() >= timeout) {
331-
LOG.warn(
332-
"Shipper clearWALEntryBatch method timed out whilst waiting reader/shipper "
333-
+ "thread to stop. Not cleaning buffer usage. Shipper alive: {}; Reader alive: {}",
334-
this.source.getPeerId(), this.isAlive(), this.entryReader.isAlive());
331+
LOG.warn("Shipper clearWALEntryBatch method timed out while waiting reader/shipper "
332+
+ "thread to stop. Not cleaning buffer usage. PeerId: {}; Shipper alive: {}; Reader "
333+
+ "alive: {}", this.source.getPeerId(), this.isAlive(), this.entryReader.isAlive());
335334
return;
336335
} else {
337336
// Wait both shipper and reader threads to stop

0 commit comments

Comments
 (0)