neo4j/neo4j — pull request #3090 by martinfurmanski (2014-09-18 09:16:21+00:00)
Title: Fix two issues with HA communication.

NetworkReadableLogChannel should not check if there is enough data available before reading.
Netty will throw an IndexOutOfBoundsException if the network stream doesn't supply enough data
to match the requested type.

The buffer sent over the Netty-channel should be compacted so that only used bytes are sent.

Also removed some logging previously added for debugging this issue.