Skip to content

Sleeps after eventual scan RPC failures#6315

Merged
keith-turner merged 1 commit intoapache:2.1from
keith-turner:accumulo-6313
Apr 15, 2026
Merged

Sleeps after eventual scan RPC failures#6315
keith-turner merged 1 commit intoapache:2.1from
keith-turner:accumulo-6313

Conversation

@keith-turner
Copy link
Copy Markdown
Contributor

Fixes two problems. First the scan server client side plugins were not computing a sleep time based on observed errors. This could cause aggressive retries with scans. Modified the provided plugins to compute this.

Second the batch scanner code was not properly collecting the information needed by scan server client side plugin to know if errors happened. The batch scanner code was not collecting information for all tablets, just a somewhat random subset of them. Corrected it to collect for all tablets. Also made the batch scanner code properly report failed tablets to the client side scan server plugin.

Both changes together fix #6313. Manually tested the batch scanner code changes by adding logs and running test to ensure the correct sleeps were happening. Also manually tested the scanner to ensure it was working correctly and sleeping as expected after errors.

Fixes two problems. First the scan server client side plugins were not
computing a sleep time based on observed errors.  This could cause
aggressive retries with scans. Modified the provided plugins to compute
this.

Second the batch scanner code was not properly collecting the
information needed by scan server client side plugin to know if errors
happened.  The batch scanner code was not collecting information for all
tablets, just a somewhat random subset of them.  Corrected it to collect
for all tablets.  Also made the batch scanner code properly report
failed tablets to the client side scan server plugin.

Both changes together fix apache#6313.  Manually tested the batch scanner code
changes by adding logs and running test to ensure the correct sleeps
were happening. Also manually tested the scanner to ensure it was
working correctly and sleeping as expected after errors.
@keith-turner keith-turner added this to the 2.1.5 milestone Apr 14, 2026
@keith-turner keith-turner merged commit 586b210 into apache:2.1 Apr 15, 2026
9 checks passed
@keith-turner keith-turner deleted the accumulo-6313 branch April 15, 2026 16:04
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