jonahgao opened a new issue, #3143:
URL: https://github.com/apache/kvrocks/issues/3143

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Motivation
   
   Since we have already set `create_missing_column_families` to `true` when 
opening db, 
   
https://github.com/apache/kvrocks/blob/9446fbde325767f7b64896c4539035402d0f8f7a/src/storage/storage.cc#L162
   
   is there any special reason to call `Storage::CreateColumnFamilies()` and 
create column families explicitly?
   
https://github.com/apache/kvrocks/blob/9446fbde325767f7b64896c4539035402d0f8f7a/src/storage/storage.cc#L293-L297
   
   It seems that this causes kvrocks to open rocksdb twice upon startup.
   
   ### Solution
   
   _No response_
   
   ### 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