tutububug commented on code in PR #2142:
URL: https://github.com/apache/kvrocks/pull/2142#discussion_r1516306209
##########
src/storage/redis_db.cc:
##########
@@ -99,10 +99,18 @@ rocksdb::Status Database::GetMetadata(RedisTypes types,
const Slice &ns_key, std
}
rocksdb::Status Database::GetRawMetadata(const Slice &ns_key, std::string
*bytes) {
+ return getRaw(ns_key, bytes);
+}
+
+rocksdb::Status Database::GetRawData(const Slice &key, std::string *bytes) {
+ return getRaw(key, bytes);
+}
+
+rocksdb::Status Database::getRaw(const Slice &key, std::string *bytes) {
Review Comment:
'GetRawData' is added just because need to read 'sub_key' value as the
method literal meaning, corresponds to 'GetRawMetadata'.
--
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]