Skip to content

HBASE-30486 Fix XOR used instead of exponentiation in VerifyReplicati… - #8798

Open
liuxiaocs7 wants to merge 1 commit into
apache:masterfrom
liuxiaocs7:HBASE-30486
Open

liuxiaocs7 wants to merge 1 commit into
apache:masterfrom
liuxiaocs7:HBASE-30486

Conversation

@liuxiaocs7

Copy link
Copy Markdown
Member

…on backoff

@liuxiaocs7
liuxiaocs7 requested a lite review from Copilot October 21, 2026 04:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue
What changed in this PR

Fixes the exponential backoff calculation in VerifyReplicationRecompareRunnable by replacing an incorrect XOR operation with proper exponentiation (HBASE-30486).

Changes:

  • Replace 2 ^ exponent (bitwise XOR) with Math.pow(2, exponent) for backoff computation
File Description
hbase-mapreduce/​src/​main/​java/​org/​apache/​hadoop/​hbase/​mapreduce/​replication/​VerifyReplicationRecompareRunnable.java Corrects re-compare sleep backoff growth by using exponentiation instead of XOR

Review effort: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants