uber-archive / cherami-server

Distributed, scalable, durable, and highly available message queue system. This project is deprecated and not maintained.
https://eng.uber.com/cherami/
MIT License
1.42k stars 102 forks source link

RetMgr: Handle cleanup of consumer-groups and consumer-group extents #310

Closed kirg closed 6 years ago

kirg commented 6 years ago

This diff also adds a new API to list consumer-groups for a given destination-uuid -- the difference between this and the existing ListConsumerGroups API is that this one would look at the 'consumer_groups' table (instead of 'consumer_groups_by_name', that ListConsumerGroups look at).

Retention-manager uses this new API to query consumer-groups in 'deleting' state and takes appropriate action to 'delete' them.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.5%) to 67.431% when pulling 262378cc97079f8a69c16e55f822f60da90f3c4b on cg-dest-uuid into 985ade98f568f62ad87f131ac5ff9bd45f39f49b on master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.2%) to 67.541% when pulling 4c71fb12f854d2af57ce23b036612f66e74ca363 on cg-dest-uuid into fc00e427570292340fd0b924b017517e7d3cbf51 on master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.07%) to 67.571% when pulling 1abe1d8beefb8cd5380f678def5915574d3ff141 on cg-dest-uuid into 3ef749a98939bc6f5e4150004f65e773a58e515a on master.