PragmaTwice commented on code in PR #2686:
URL: https://github.com/apache/kvrocks/pull/2686#discussion_r1866210764


##########
src/types/redis_string.cc:
##########
@@ -297,6 +297,7 @@ rocksdb::Status String::SetRange(engine::Context &ctx, 
const std::string &user_k
     }
 
     Metadata metadata(kRedisString, false);
+    raw_value.clear();

Review Comment:
   Good to me. Actually refactor them to StatusOr can solve the problem, but I 
don't have much time to do that.



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