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

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   1142a9d87ac6c404dcf4e0d06778af9ae738539b
   
   ### Minimal reproduce step
   
   none
   
   ### What did you expect to see?
   
   call compact on specific cf
   
   ### What did you see instead?
   
   call compact on all cf
   
   ### Anything Else?
   
   In method `CompactionChecker::PickCompactionFiles`, kvrocks will search all 
sst files in cf specified by `cf_name`. If a sst file should be compacted, 
kvrocks will call 
   ```
   storage_->Compact(&start_key, &stop_key)
   ```
   But, `Compact` method will CompactRange on all cfs.
   
   Expected:
   `Compact` method needs a `cf_name` parameter to do compact on right cf not 
all cfs.
   
   ### Are you willing to submit a PR?
   
   - [X] 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