duongkame commented on code in PR #1081:
URL: https://github.com/apache/ratis/pull/1081#discussion_r1596970863


##########
ratis-server/src/main/java/org/apache/ratis/server/raftlog/RaftLogBase.java:
##########
@@ -516,20 +514,11 @@ public LogEntryProto getEntry(TimeDuration timeout) 
throws RaftLogIOException, T
       if (LogProtoUtils.isStateMachineDataEmpty(entryProto)) {
         final String err = getName() + ": State machine data not set for " + 
this;
         LOG.error(err);
-        data.release();
         throw new RaftLogIOException(err);

Review Comment:
   Thanks @szetszwo  @symious .



-- 
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-unsubscr...@ratis.apache.org

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

Reply via email to