Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 987B1200BC2 for ; Thu, 17 Nov 2016 09:34:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 97233160AFF; Thu, 17 Nov 2016 08:34:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 10891160B18 for ; Thu, 17 Nov 2016 09:33:59 +0100 (CET) Received: (qmail 79590 invoked by uid 500); 17 Nov 2016 08:33:59 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 79349 invoked by uid 99); 17 Nov 2016 08:33:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2016 08:33:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B90F62C4C77 for ; Thu, 17 Nov 2016 08:33:58 +0000 (UTC) Date: Thu, 17 Nov 2016 08:33:58 +0000 (UTC) From: "Sergey Dobrodey (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-12916) Broken UDT muitations loading from CommitLog MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 17 Nov 2016 08:34:00 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Dobrodey updated CASSANDRA-12916: ---------------------------------------- Attachment: patch.diff > Broken UDT muitations loading from CommitLog > -------------------------------------------- > > Key: CASSANDRA-12916 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12916 > Project: Cassandra > Issue Type: Bug > Components: Local Write-Read Paths > Environment: Cassandra 3.9 > Reporter: Sergey Dobrodey > Priority: Critical > Labels: patch > Attachments: patch.diff, udt.cql > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)