baobaomaomeng commented on code in PR #2222:
URL: https://github.com/apache/kvrocks/pull/2222#discussion_r1590289058


##########
src/storage/redis_db.cc:
##########
@@ -309,10 +314,12 @@ rocksdb::Status Database::Keys(const std::string &prefix, 
std::vector<std::strin
   return rocksdb::Status::OK();
 }
 
-rocksdb::Status Database::Scan(const std::string &cursor, uint64_t limit, 
const std::string &prefix,
-                               std::vector<std::string> *keys, std::string 
*end_cursor, RedisType type) {
+rocksdb::Status Database::Scan(const std::string &cursor, uint64_t 
scan_success_limit, uint64_t scan_false_limit,
+                               const std::string &match_str, 
std::vector<std::string> *keys, std::string *end_cursor,
+                               RedisType type, const MatchType match_mode) {

Review Comment:
   I've been thinking about how to design a scalable scan, but I don't have any 
ideas. This might be a bit difficult for me. I think I need some guidance on 
the thought process right now.



-- 
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