Community
Participate
Working Groups
Build Identifier: HEAD Currently, the implementation of TCPConnector uses a LinkedBlockingList to queue the channels (FIFO). If a channel C1 sends a lot of data, other channels will be able to send their data only after all the ByteBuffers of C1 have been transmitted. This is a problem when the HeartBeatProtocol is enabled and a cloned repository is synchronizing over a slow network connection. In such case, the heartbeats are not sent on time and the client thinks that the connection is dead. A round-robin scheduling of the channels solves this issue. Reproducible: Always
Created attachment 175138 [details] Patch - for future reference I implemented a RoundRobinBlockingQueue in net4j.util.
Committed to HEAD
Available in R20110608-1407