Skip to content

fixes redundant update count calculation - #6595

Merged
keith-turner merged 1 commit into
apache:mainfrom
keith-turner:fix-zoobasedconfig
Oct 16, 2026
Merged

keith-turner merged 1 commit into
apache:mainfrom
keith-turner:fix-zoobasedconfig

Conversation

@keith-turner

Copy link
Copy Markdown
Contributor

ZooBasedConfiguration.getUpdateCount() would compute the update count for all parent levels. This is unessecary because getParent().getUpdateCount() includes its parent count if it has one.

Moved getParent() from AccumuloConfiguration to ZooBasedConfiguration as it was only used by ZooBasedConfiguration and its subclasses.

ZooBasedConfiguration.getUpdateCount() would compute the update count for all
parent levels.  This is unessecary because getParent().getUpdateCount() includes
its parent count if it has one.

Moved getParent() from AccumuloConfiguration to ZooBasedConfiguration as it was
only used by ZooBasedConfiguration and its subclasses.
@keith-turner keith-turner added this to the 4.0.0 milestone Oct 16, 2026
@keith-turner
keith-turner merged commit ad2cc81 into apache:main Oct 16, 2026
8 checks passed
@keith-turner
keith-turner deleted the fix-zoobasedconfig branch October 16, 2026 19:07
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