[CHORE](garbage_collector): remove log-only orchestrator - #6971
Conversation
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
|
This PR removes the dedicated The change simplifies execution by eliminating the second job stream and duplicate result-processing loop for log-only hard delete work. If a manually requested collection no longer exists (or has invalid/multiple lookup results), it is skipped with logging instead of being routed to a separate orchestrator path. Tests were updated to reflect This summary was automatically generated by @propel-code-bot |
a10c1a6 to
a696382
Compare
Excise the HardDeleteLogOnlyGarbageCollectorOrchestrator, which was a separate code path for hard-deleting logs of destroyed collections. Manual GC requests now look up collection info via sysdb and feed them into the regular GC pipeline. Collections that no longer exist are skipped with a log message instead of being routed to a separate orchestrator. - Replace HashMap<CollectionUuid, DatabaseName> with HashSet<CollectionUuid> for manual_collections since the database name is now looked up on demand - Add lookup_manual_collection_to_gc to query sysdb directly - Remove second job stream and its duplicated result processing loop - Add test for lookup returning None after collection removal Co-authored-by: AI
a696382 to
0c46f47
Compare
Description of changes
Excise the HardDeleteLogOnlyGarbageCollectorOrchestrator, which was a
separate code path for hard-deleting logs of destroyed collections.
Manual GC requests now look up collection info via sysdb and feed
them into the regular GC pipeline. Collections that no longer exist
are skipped with a log message instead of being routed to a separate
orchestrator.
HashSet for manual_collections since the database
name is now looked up on demand
Test plan
Locally tested gc lib + CI
Migration plan
N/A
Observability plan
N/A
Documentation Changes
N/A
Co-authored-by: AI