Skip to content

remove compactor status update#6252

Merged
keith-turner merged 1 commit intoapache:mainfrom
keith-turner:remove-update-status
Mar 26, 2026
Merged

remove compactor status update#6252
keith-turner merged 1 commit intoapache:mainfrom
keith-turner:remove-update-status

Conversation

@keith-turner
Copy link
Copy Markdown
Contributor

Removed the status update message sent to the coordinator. This is a follow on to #6244

Copy link
Copy Markdown
Contributor

@dlmarion dlmarion left a comment

Choose a reason for hiding this comment

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

Logging suggestions.

Co-authored-by: Dave Marion <dlmarion@apache.org>
@keith-turner keith-turner force-pushed the remove-update-status branch from f024e86 to f25503b Compare March 26, 2026 16:01
@keith-turner keith-turner merged commit a8c29e8 into apache:main Mar 26, 2026
9 of 11 checks passed
@keith-turner keith-turner deleted the remove-update-status branch March 26, 2026 16:47
Comment on lines -467 to -481
/**
* Send an update to the CompactionCoordinator for this job
*
* @param job compactionJob
* @param update status update
* @throws RetriesExceededException thrown when retries have been exceeded
*/
protected void updateCompactionState(TExternalCompactionJob job, TCompactionStatusUpdate update)
throws RetriesExceededException {
long updateTime = System.currentTimeMillis();
TExternalCompaction tec = JOB_HOLDER.getCurrentCompaction();
if (update.getState() == TCompactionState.STARTED) {
tec.setStartTime(updateTime);
}
tec.putToUpdates(updateTime, update);
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.

I think removing this is causing test failures. I think this functionality should be added back in, to include where this method was called from within the Compactor.

dlmarion added a commit to dlmarion/accumulo that referenced this pull request Mar 27, 2026
The changes in apache#6252 removed code to report
state back to the Coordinator and removed
the code that was tracking the state of
the compaction in the Compactor. The latter
is still needed. This puts it back.
keith-turner pushed a commit that referenced this pull request Mar 27, 2026
The changes in #6252 removed code to report
state back to the Coordinator and removed
the code that was tracking the state of
the compaction in the Compactor. The latter
is still needed. This puts it back.
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