[
https://issues.apache.org/jira/browse/HBASE-30486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18133390#comment-18133390
]
Hudson commented on HBASE-30486:
--------------------------------
Results for branch branch-3.0
[build #40 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3.0/40/]:
(/) *{color:green}+1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3.0/40/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3.0/40/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk21 hadoop3 checks{color}
-- For more information [see jdk21
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3.0/40/JDK21_20Nightly_20Build_20Report_20_28Hadoop3_29/]
> Fix XOR used instead of exponentiation in VerifyReplication backoff
> -------------------------------------------------------------------
>
> Key: HBASE-30486
> URL: https://issues.apache.org/jira/browse/HBASE-30486
> Project: HBase
> Issue Type: Bug
> Components: mapreduce
> Reporter: Xiao Liu
> Assignee: Xiao Liu
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8
>
>
> {\{VerifyReplicationRecompareRunnable}} calculates the retry delay using:
> {code:java}
> sleepMs = sleepMs * (2 ^ reCompareBackoffExponent);
> {code}
> Java's \{{^}} operator performs XOR, not exponentiation. With exponent
> \{{2}}, the multiplier becomes \{{0}}, removing the delay between subsequent
> retries and potentially reporting bad rows before replication catches up.
> Replace XOR with exponentiation to restore the intended backoff behavior.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)