Skip to content

Improve the UniqueNameAllocator configurability#3736

Merged
ctubbsii merged 3 commits intoapache:2.1from
ctubbsii:name-allocator-min-max
Aug 29, 2023
Merged

Improve the UniqueNameAllocator configurability#3736
ctubbsii merged 3 commits intoapache:2.1from
ctubbsii:name-allocator-min-max

Conversation

@ctubbsii
Copy link
Copy Markdown
Member

@ctubbsii ctubbsii commented Aug 29, 2023

  • Replace "base" and "jitter" concepts, which are confusing and require defining, with explicit "min" and "max" values for the configuration options for UniqueNameAllocator.
  • Adjust formatting of Property descriptions so they don't excessively exceed our line length style.
  • Reorder property names so RPC props aren't split up and stay together instead.

This fixes #3722

* Replace "base" and "jitter" concepts, which are confusing and require
  defining, with explicit "min" and "max" values for the configuration
  options for UniqueNameAllocator. Also adjust formatting of Property
  descriptions so they don't excessively exceed our line length style.
@ctubbsii
Copy link
Copy Markdown
Member Author

#3729 was merged before I had a chance to review it. Here's my suggestions to make the property names (and implementation) a bit more simple to understand.

@ctubbsii ctubbsii linked an issue Aug 29, 2023 that may be closed by this pull request
@ctubbsii ctubbsii merged commit f02d2ac into apache:2.1 Aug 29, 2023
@ctubbsii ctubbsii deleted the name-allocator-min-max branch August 29, 2023 17:55
EdColeman pushed a commit to EdColeman/accumulo that referenced this pull request Sep 11, 2023
* Replace "base" and "jitter" concepts, which are confusing and require
  defining, with explicit "min" and "max" values for the configuration
  options for UniqueNameAllocator. Also adjust formatting of Property
  descriptions so they don't excessively exceed our line length style.
@ctubbsii ctubbsii modified the milestones: 3.1.0, 2.1.3 Jul 12, 2024
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.

Allow pre-allocated unique name batch to be customizable

4 participants