benedekh / WeLoveClouds

Repository for submissions on the CloudDB course.
0 stars 1 forks source link

Overlapping KV*Messages #115

Closed benedekh closed 7 years ago

benedekh commented 7 years ago

Sometimes it happens that two consecutive KV*Messages overlap each other and it breaks the Message validation (recognition in the ConcurrentCommunicationService.receive() ) from that point onwards. It results in a deadlock, because neither the server nor the client move forward. (Server didn't recognize the message, client is waiting for the server's response.)