Page MenuHomePhabricator

c-cqlsh should work for single instance installations
Closed, ResolvedPublic

Description

The [[ https://github.com/eevans/cassandra-tools-wmf | c-cqlsh ]] tool does not support single instance installations (like is still in use in deployment-prep). Making it do so would be trivial, and useful.

Event Timeline

Change 384055 had a related patch set uploaded (by Eevans; owner: Eevans):
[operations/debs/cassandra-tools-wmf@master] Use instance ID=default when no ID is supplied

https://gerrit.wikimedia.org/r/384055

As it turns out, it does in fact support single instance environments via an instance ID of default. The attached Gerrit changeset causes the absence of an argument to be treated as default.

Change 719051 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/debs/cassandra-tools-wmf@master] Assume default on single-instance hosts

https://gerrit.wikimedia.org/r/719051

Change 721019 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/debs/cassandra-tools-wmf@master] Warn when no instance name is passed.

https://gerrit.wikimedia.org/r/721019

Change 719051 abandoned by Hnowlan:

[operations/debs/cassandra-tools-wmf@master] Assume default on single-instance hosts

Reason:

Decided against feature

https://gerrit.wikimedia.org/r/719051

Change 721019 merged by Eevans:

[operations/debs/cassandra-tools-wmf@master] Warn when no instance name is passed.

https://gerrit.wikimedia.org/r/721019

Eevans claimed this task.

This appears to be complete; Closing