Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-120

mutation replies are not correctly deserialized by originator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 0.3
    • None
    • None
    • Critical

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jbellis Jonathan Ellis
              jbellis Jonathan Ellis
              Jonathan Ellis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: