gavinchou commented on code in PR #68457:
URL: https://github.com/apache/doris/pull/68457#discussion_r4088694442


##########
cloud/src/meta-store/keys.cpp:
##########
@@ -644,8 +644,8 @@ std::string version_key_prefix(std::string_view 
instance_id) {
 std::string index_key_prefix(std::string_view instance_id) {
     std::string out;
     out.push_back(CLOUD_VERSIONED_KEY_SPACE03);
-    encode_bytes(INDEX_INDEX_KEY_INFIX, &out); // "version"
-    encode_bytes(instance_id, &out);           // instance_id
+    encode_bytes(INDEX_KEY_PREFIX, &out); // "index"

Review Comment:
   it is `INDEX_INDEX_KEY_INFIX` but not `INDEX_KEY_PREFIX`



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to