Skip to content

Conversation

@cshannon
Copy link
Contributor

Adds some initial information for users for the updated merge changes in Accumulo 4.0. I didn't want to go to detailed into the internals but the changes describe how the new merge is different (faster and fences files, etc compared to chop compactions) and also goes into auto merge and how to configure tablets using the API. I'm marking it as a draft as I'm sure some changes are needed and polishing but want to get some feedback on how things look and if we need more detail or not. I also assume there will be updates in the future before release as things are tweaked as 4.0 still is not close to release.


* `manager.tablet.mergeability.interval` -Time to wait between scanning tables to identify ranges of tablets that can be auto-merged (default is `24h`)
* `table.mergeability.threshold` - A range of tablets are eligible for automatic merging until the combined size of RFiles reaches this percentage of the split threshold. (default is `.25`)
* `table.merge.file.max` - The maximum number of files that a merge operation will process (default is `10000`)
Copy link
Contributor

Choose a reason for hiding this comment

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

This property applies to both api initiated merges and automatically initiated merges, the other two props only apply to automatic merges. Not sure if this is worth working in somehow, it was just something I noticed.

* `table.mergeability.threshold` - A range of tablets are eligible for automatic merging until the combined size of RFiles reaches this percentage of the split threshold. (default is `.25`)
* `table.merge.file.max` - The maximum number of files that a merge operation will process (default is `10000`)

## Tablet Mergeability
Copy link
Contributor

Choose a reason for hiding this comment

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

May want to work in to this section what will happen on upgrade for existing tablets.

@cshannon cshannon marked this pull request as ready for review March 27, 2025 19:32
@dlmarion dlmarion merged commit 3e353de into apache:main Apr 28, 2025
1 check passed
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.

3 participants