ni-ze commented on issue #4074:
URL: https://github.com/apache/rocketmq/issues/4074#issuecomment-1086608416


   The second one has error,  but first one success, so the first request will 
success and return the first one mappedFile. Second request will occur error 
and and return null, which is correct because the first arg of second request 
is exactly the second arg of first request. just like this:
   ```java
   //first request
   public MappedFile putRequestAndReturnMappedFile(String "/store/1", String 
"/store/2", int fileSize) {
   }
   
   //second  request
   public MappedFile putRequestAndReturnMappedFile(String "/store/2", String 
"/store/3", int fileSize) {
     //the mappedFile is created by the first request.
   }
   ```


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