v2 also lazy-initializes the caching producer for the initial digest reads, and updates comments
For the initial digest reads, it would be nice to use the CachingMessageProducer for the local digest read too.
no Messages are created for local reads.
Oh right, my bad. Anyways, lgtm, +1.
Note that on merge to trunk I also added a readCallbacks.clear() statement at the beginning of the short-read do/while loop.
Integrated in Cassandra-0.8 #321 (See https://builds.apache.org/job/Cassandra-0.8/321/)
Improve caching of same-version Messages on digest and repair paths
patch by jbellis; reviewed by slebresne for CASSANDRA-3158
jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166774