We’re not setting cache capacity upon creation of Column Family, since the type and capacity is unknown at that time. By default it = 0.


After Column Family has enough data and we could decide on cache type (Row or Key) and capacity, we connect with JConsole and set cache capacity manually on every node. But after Cassandra restart cache capacity is 0 again.


How to avoid losing cache capacity after restart?