You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "ChaseForward (via GitHub)" <gi...@apache.org> on 2026/08/13 10:22:26 UTC

[PR] feat(CuckooFilter): add cf.info and cf.count command [kvrocks]

ChaseForward opened a new pull request, #3591:
URL: https://github.com/apache/kvrocks/pull/3591

   part of: #3552
   
   ## Summary
   Add RedisBloom-compatible CF.INFO and CF.COUNT support for Cuckoo Filter.
   
   ## Design
   
   CF.INFO returns the filter metadata (total slot size, number of buckets,
   number of sub-filters, number of items inserted/deleted, bucket size,
   expansion rate, max iterations), matching RedisBloom's field order.
   
   CF.INFO key items returns a nested key-value pair for inserted and deleted
   counts; CF.INFO key returns all fields as a flat array.
   
   CF.COUNT returns the total number of fingerprint matches across all
   sub-filters for the given item, counting each occurrence separately
   (duplicates inserted via CF.ADD are all counted), without modifying any
   slot.
   
   This PR was written using TRAE.
   


-- 
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: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(CuckooFilter): add cf.info and cf.count command [kvrocks]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3591:
URL: https://github.com/apache/kvrocks/pull/3591#issuecomment-5279072235

   Hi @ChaseForward,
   
   Thank you for your pull request. Please review our [Contributing Guide](https://kvrocks.apache.org/community/contributing/).
   
   Please make sure you understand your changes and explain your reasoning in this pull request. Low-quality pull requests may be closed.


-- 
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: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(CuckooFilter): add cf.info and cf.count command [kvrocks]

Posted by "jihuayu (via GitHub)" <gi...@apache.org>.
jihuayu commented on PR #3591:
URL: https://github.com/apache/kvrocks/pull/3591#issuecomment-5288830021

   Hi @ChaseForward Thank you for your contribution. Unless there is a necessary reason to do otherwise, please limit each PR to adding a single command.
   
   I’m going to close this PR. You can split it into two separate PRs and resubmit them.
   


-- 
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: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(CuckooFilter): add cf.info and cf.count command [kvrocks]

Posted by "jihuayu (via GitHub)" <gi...@apache.org>.
jihuayu closed pull request #3591: feat(CuckooFilter): add cf.info and cf.count command
URL: https://github.com/apache/kvrocks/pull/3591


-- 
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: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org