ACCEPT_ACK and CONFIRM_ACK bug
unknown
abap
2 years ago
1.2 kB
3
Indexable
Oct. 25, 2022 9:48:16.849521000 P.M. comp512.gcl.GCL$GCLDeliveryThread run FINE: Delivering message : [senderProcess:Sandrines-MacBook-Pro-3.local:40239:val:{ACCEPT_ACK:ballotID:6:seqNum:0:msgID:1000001}] Oct. 25, 2022 9:48:16.849977000 P.M. comp512st.paxos.Paxos deliver FINE: s=Sandrines-MacBook-Pro-3.local:40239 Oct. 25, 2022 9:48:16.850366000 P.M. comp512st.paxos.Paxos deliver FINE: m.destination=Sandrines-MacBook-Pro-3.local:40339, m.sender=Sandrines-MacBook-Pro-3.local:40339 // Problem: m.sender is incorrect, it should be equal to s (Sandrines-MacBook-Pro-3.local:40239) // We call AcceptAck here: gcl.sendMsg(new AcceptAck(accept.ballotID, accept.seqNum, accept.msgId, missingMessagesTracker.getMissingMessages(accept.seqNum), me.name, leader), leader); // That means me.name = leader, but not normal public AcceptAck(long ballotID, long seqNum, long msgId, Set<Long> missingSuccess, String sender, String destination) throws NotSerializableException { super(sender, destination, MessageType.ACCEPT_ACK); this.ballotID = ballotID; this.seqNum = seqNum; this.msgId = msgId; this.missingSuccess = missingSuccess; }
Editor is loading...