Skip to content

Remove compaction related TODOs - #6491

Open
Amemeda wants to merge 4 commits into
apache:mainfrom
Amemeda:todos
Open

Remove compaction related TODOs#6491
Amemeda wants to merge 4 commits into
apache:mainfrom
Amemeda:todos

Conversation

@Amemeda

@Amemeda Amemeda commented Jul 27, 2026

Copy link
Copy Markdown
Contributor
  • Removed TODO on ExternalCompaction4_IT, the test is already using a valid compaction server config cs4.
  • Removed TODO on ExternalCompactionMetricsIT.testMetrics. TODO was misleading, the code was already not checking the queue, but the ECOMP metadata. Reworked this check to ensure all compaction jobs have completed by waiting for the ECOMP metadata to be cleared from Accumulo metadata.
  • This caused 1 test to fail in workflow, but still passes locally. Test may be flaky.

This pr resolves 2 TODOs from #2699

@Amemeda
Amemeda marked this pull request as ready for review July 28, 2026 19:39

@DomGarguilo DomGarguilo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

return tm.stream().allMatch(t -> t.getExternalCompactions().isEmpty());
}
} while (count > 0);
});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We could probably also add a call to ExternalCompactionUtil.getCompactionsRunningOnCompactors to confirm that Compactors are not running compactions for user tables.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Add this in the return? or after the wait block?

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