ashishkumar50 commented on PR #5293:
URL: https://github.com/apache/ozone/pull/5293#issuecomment-1720714993

   > But isn't that the bug? We have sent 2 commands out, but are waiting for 3 
responses. If you send 2, you should expect 2 back, not 3.
   
   Yes that's correct, this is old design could be because of we don't want to 
operate on rocksdb for each response as final goal is to delete from all 
replica. 
   
   > you are saying that the command would be resent to the new 3rd and then 
you will have 3 responses?
   
   Yes correct.
   
   
   
   > if we would be better ensuring we get the specific DN responses we care 
about, rather than always expecting 
`container.getReplicationConfig().getRequiredNodes()`
   
   This is done to ensure rocksdb transaction gets deleted only after all the 
required nodes has committed the transaction.


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