Skip to content

Conversation

@kevinrr888
Copy link
Member

…TabletHosting

From discussion #5474 (comment)

@kevinrr888 kevinrr888 added this to the 4.0.0 milestone Apr 18, 2025
@kevinrr888 kevinrr888 self-assigned this Apr 18, 2025
@ddanielr ddanielr merged commit 9438cc6 into apache:main Apr 19, 2025
8 checks passed

// System tables should always be hosted
if (AccumuloTable.ROOT.tableId() == tableId || AccumuloTable.METADATA.tableId() == tableId) {
if (AccumuloTable.allTableIds().contains(tableId)) {
Copy link
Member

Choose a reason for hiding this comment

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

I think the class AccumuloTable is really a misnomer. It's really TablesInTheAccumuloNamespace, and would probably be more intuitive if named AccumuloNamespace, with methods like .containsTable(tableId), or .tables().contains(TableId). There are several places in the code that have this pattern of checking that a tableId is contained in this set that would benefit from such a change. A similar comment was made on #5451

Copy link
Member Author

Choose a reason for hiding this comment

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

Created #5498

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.

4 participants