Skip to content

Timeout value addd to wait for scans servers#4638

Merged
dlmarion merged 6 commits intoapache:elasticityfrom
ArbaazKhan1:accumulo-4532e
Jun 18, 2024
Merged

Timeout value addd to wait for scans servers#4638
dlmarion merged 6 commits intoapache:elasticityfrom
ArbaazKhan1:accumulo-4532e

Conversation

@ArbaazKhan1
Copy link
Contributor

Closes issue#4532

Changed enableTabletServerFallback to timeToWaitForScanServers and made it a timeout value. Please take a look at the class description and see if the explanation timeToWaitForScanServers is sufficient enough. This update will need to be added into 2.1 as well.

Copy link
Contributor

@ddanielr ddanielr left a comment

Choose a reason for hiding this comment

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

There's some minor documentation updates that are needed.
Otherwise looks good.

* <li>"ms" for milliseconds</li>
* </ul>
* If duration is not specified this setting defaults to 0s, and will disable the wait for scan
* servers. When set to a large value, the selector will effectively wait for scan servers to become
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* servers. When set to a large value, the selector will effectively wait for scan servers to become
* servers and will fall back to tablet servers immediately. When set to a large value, the selector will effectively wait for scan servers to become

@dlmarion
Copy link
Contributor

I think this is good to merge, just a few minor comments on the javadoc.

@dlmarion
Copy link
Contributor

@ArbaazKhan1 - if you can merge address the latest comments, then I should be able to merge this in.

@dlmarion dlmarion merged commit 12166db into apache:elasticity Jun 18, 2024
@ctubbsii ctubbsii added this to the 4.0.0 milestone Jul 12, 2024
@ArbaazKhan1 ArbaazKhan1 deleted the accumulo-4532e branch May 13, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants