mutation replies are not correctly deserialized by originator
-------------------------------------------------------------

                 Key: CASSANDRA-120
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-120
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jonathan Ellis


these lines in WriteResponseResolver

                        Object[] body = response.getMessageBody();
                        WriteResponse writeResponse = (WriteResponse) body[0];

cause this exception

java.lang.ClassCastExceptionException: [B cannot be cast to 
org.apache.cassandra.db.WriteResponse
        at 
org.apache.cassandra.service.WriteResponseResolver.resolve(WriteResponseResolver.java:50)
        at 
org.apache.cassandra.service.WriteResponseResolver.resolve(WriteResponseResolver.java:31)
        at 
org.apache.cassandra.service.QuorumResponseHandler.get(QuorumResponseHandler.java:101)
        at 
org.apache.cassandra.service.StorageProxy.insertBlocking(StorageProxy.java:132)

because of course only byte[] is sent over the wire

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to