Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce the frequency that the list of scan servers is sorted #4547

Merged
merged 1 commit into from May 13, 2024

Conversation

keith-turner
Copy link
Contributor

The provided plugin for working with scan servers sorts the list of scan servers fairly frequently. This list will not change too often, so it could be sorted less to offer a better amortized cost as the total number of scan servers grows.

Also outside of the plugin, the plugin was being reset every 100ms. Removed this to give the plugin more control. Also there is currently no way to change client config for a created Accumulo client, so there is no need to recreate the plugin.

The provided plugin for working with scan servers sorts the list of scan
servers fairly frequently.  This list will not change too often, so it
could be sorted less to offer a better amortized cost as the total
number of scan servers grows.

Also outside of the plugin, the plugin was being reset every 100ms.
Removed this to give the plugin more control.  Also there is currently
no way to change client config for a created Accumulo client, so there
is no need to recreate the plugin.
@keith-turner keith-turner added this to In progress in 3.1.0 via automation May 10, 2024
@keith-turner keith-turner added this to In progress in 2.1.3 via automation May 10, 2024
@keith-turner keith-turner merged commit d4e2ae7 into apache:2.1 May 13, 2024
8 checks passed
3.1.0 automation moved this from In progress to Done May 13, 2024
2.1.3 automation moved this from In progress to Done May 13, 2024
@keith-turner keith-turner deleted the scan_server_sort_frequency branch May 22, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
2.1.3
Done
3.1.0
Done
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants