Closed lightem90 closed 9 years ago
counter list limit done, checks done, rep is a problem because: when the selector receives a finRead, Gossip or Prewrite, it looks for the maximum tag in rep map. MAYBE, and in theory the localTag should be the biggest one already, so it shouldn't be needed to look for it in rep map.
Fixed by using as first tag to compare the local tag. The problem now is the comparison when it receives a finalize after a read, because it cannot find the maximum tag anymore. READ isn't working because at line 291 of Connection Manager class in the "else" we dont' send the ack back. Must check in the Message Passing paper if and how the ack should be like in that case.
Added ack. Looks like is working
Handle Tag and Counters properly: set limit to counter list, fix the checking order to label -> counter -> id. Change rep map into <int, view>.