Skip to content

Sleeps after eventual scan RPC failures#6315

Open
keith-turner wants to merge 1 commit intoapache:2.1from
keith-turner:accumulo-6313
Open

Sleeps after eventual scan RPC failures#6315
keith-turner wants to merge 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
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.

1 participant