nandakumar131 commented on PR #7862:
URL: https://github.com/apache/ozone/pull/7862#issuecomment-2675994701

   > Having something in the raft log and not applying it & not having a txn in 
raft log is one and the same. Why have different states?
   
   The difference is `relying on quorum` vs `need all the replicas` to close a 
QUASI_CLOSED Container. I agree that we are not in a good place right now to 
close a Container in QUASI_CLOSED state based on quorum, but that should not be 
the reason to add more code which will not allow us to use quorum based closing 
logic in future.
   
   > I believe QUASI_CLOSED containers are containers which have missed a bunch 
of txns irrespective of it being in the raft log or not. 
   
   If that's the case, we don't even need Ratis. We can have a implementation 
without Ratis by having a static leader node and all the transactions can go 
through that leader and replicated to followers.
   
   If we don't want to rely on Ratis quorum, we can actually simplify the flow 
by removing Ratis.
   
   > Atleast the current implementation is so.
   
   The current implementation has missed handling few failure cases, we should 
fix them.


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

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to