Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
ColumnFamilies may be added when cassandr is not running by editing the configuration file.
If you need to delete or re-order CFs, you must
1) kill cassandra
2) start it again and wait for log replay to finish
3) kill cassandra AGAIN
Alternatively on Cassandra 0.4.2 or later:
1) run nodeprobe flush and wait for it to finish
2) kill cassandra
Then:
4) make your edits (now there is no data in the commitlog)
5) manually remove the sstable files (-Data.db, -Index.db, and -Filter.db) for the CFs you removed, and rename files for CFs you renamed
6) start cassandra and your edits should take effect
Attachments
Issue Links
- depends upon
-
CASSANDRA-915 disallow column family names containing hyphens
- Resolved
-
CASSANDRA-620 Add per-keyspace replication factor (possibly even replication strategy)
- Resolved
-
CASSANDRA-818 refactor database descriptor so that KS and CF descriptions are contained within serializable classes.
- Resolved
- is related to
-
CASSANDRA-932 Use cfids instead of cfnames for major operations.
- Resolved
-
CASSANDRA-929 Push migrations out instead of waiting for gossip to detect them.
- Resolved
-
CASSANDRA-976 clean up dropped keyspaces' directories
- Resolved