ByteBufferUtil.clone shouldn't mutate the passed bytebuffer
-----------------------------------------------------------
Key: CASSANDRA-1847
URL: https://issues.apache.org/jira/browse/CASSANDRA-1847
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 0.7.0 rc 2
Reporter: T Jake Luciani
Assignee: T Jake Luciani
Priority: Minor
Currently ByteBufferUtil.clone uses .mark and .reset on the passed ByteBuffer.
This is fine when using thrift because no two ByteBuffer are being accessed at
the same time, but this could be thread-unsafe if the same BB was passed
concurrently.
Solandra is having problems with this (Solandra shares JVM with Cassandra).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.