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

Broken UDT muitations loading from CommitLog

    XMLWordPrintableJSON

Details

    • Critical

    Description

      UDT mutatitions seems to be broken. Simple example is attached. After steps from it, restart cassandra and during commit log reading it will fail with error:

      ERROR 09:34:46 Exiting due to error while processing commit log during initialization.
      org.apache.cassandra.db.commitlog.CommitLogReadHandler$CommitLogReadException: Unexpected error deserializing mutation; saved to /tmp/mutation6087238241614604390dat. This may be caused by replaying a mutation against a table with the same name but incompatible schema. Exception follows: org.apache.cassandra.serializers.MarshalException: Not enough bytes to read 0th field data

      I resolved this problem, so my patch is in attachment.

      Attachments

        1. patch.diff
          4 kB
          Sergey Dobrodey
        2. udt.cql
          0.3 kB
          Sergey Dobrodey

        Issue Links

          Activity

            People

              samt Sam Tunnicliffe
              sergey.dobrodey Sergey Dobrodey
              Sam Tunnicliffe
              Sam Tunnicliffe
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: