git-hulk opened a new issue, #1410:
URL: https://github.com/apache/incubator-kvrocks/issues/1410

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-kvrocks/issues) and found no 
similar issues.
   
   
   ### Motivation
   
   Currently, we encode the slot id as the prefix of the key if the cluster 
mode was enabled according to Kvrocks's configuration. But it would go wrong if 
we start the Kvrocks with `cluster-enabled yes`, but change it to 
`cluster-enabled no` after restarting.
   
   For the key encoding can see: 
https://kvrocks.apache.org/community/data-structure-on-rocksdb
   
   
   
   ### Solution
   
   Persist the `cluster-enabled` configuration in the RocksDB(can use 
`propagate column family`) when starting the server, then check if the 
Kvrocks's cluster-enabled configuration matched the database status.
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to