[BUG] Fail compaction job when Success response job_id mismatches awaiter#6888
[BUG] Fail compaction job when Success response job_id mismatches awaiter#6888cuiweixie wants to merge 1 commit intochroma-core:mainfrom
Conversation
…iter On CompactionResponse::Success, a mismatched job_id was logged but succeed_job was still called unconditionally. Mirror the RequireCompactionOffsetRepair branch: call fail_job when IDs disagree, otherwise succeed_job.
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
|
Fix mismatched This PR fixes a logic bug in The change is limited to This summary was automatically generated by @propel-code-bot |
Summary
When
CompactionResponse::Successcarries ajob_idthat does not match the awaiter\u2019sresp.job_id, the scheduler now callsfail_jobinstead of incorrectly callingsucceed_job.Context
Aligns the Success branch with the existing mismatch handling in
RequireCompactionOffsetRepair.Fixes #6887