Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

cmq -- Cherami Metadata Query-er #314

Merged
merged 39 commits into from
Oct 27, 2017
Merged

cmq -- Cherami Metadata Query-er #314

merged 39 commits into from
Oct 27, 2017

Conversation

kirg
Copy link
Contributor

@kirg kirg commented Oct 17, 2017

tool to query metadata (Cassandra) directly:

cmq d <dest-uuid>: show destination
cmq cg <cg-uuid>: show consumer-group
cmq x <ext-uuid>: show extent
cmq s [d|cg|x|cgx|ix|sx] <uuid> : to 'show' destination | consumer-group | extent | cg-extent, etc
cmq l [d|cg|x|cgx|ix|sx] [-p|-d|-cg|-x] : to list destination | consumer-group | extent | cg-extent | input-extent | store-extent
cmq gc [-d|-cg|-x|-cgx|-ix|-sx|-all] : garbage collect specified tables
cmq watch <dest-uuid> <cg-uuid> : show backlog refreshing regularly
    etc.
cmq -help: for global options:
    -o [short | json | cql | undo | none] : output format (for show/list commands)
    etc.

kiranrg and others added 30 commits October 16, 2017 23:36
…310)

* handle consumer-group deletion

* fix mocks, tests

* debug log

* more log

* log

* metadata logs

* add destination_uuid column to consumer_groups table

* ListConsumerGroupsUUID

* Make RetMgr use ListConsumerGroupsUUID

* update meta-metrics

* thrift

* thrift

* update the new dest-uuid column in create-, update- and delete- cg paths

* fix create-cg cql

* fix mocks

* ListConsumerGroupsUUID test

* CR feedback

* return and catch errors from metadata in ret-mgr

* incorporate cr feedback

* ~

* ensure consumer-groups are deleted before deleting destination

* fix build due to gocql API change
@CLAassistant
Copy link

CLAassistant commented Oct 26, 2017

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

coveralls commented Oct 26, 2017

Coverage Status

Coverage increased (+0.5%) to 67.866% when pulling f6cb6ef on cmq into fc00e42 on master.

@kirg kirg merged commit 0752a0c into master Oct 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants