Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45F6417F59 for ; Mon, 10 Nov 2014 20:06:37 +0000 (UTC) Received: (qmail 71387 invoked by uid 500); 10 Nov 2014 20:06:35 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 71348 invoked by uid 500); 10 Nov 2014 20:06:35 -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 71228 invoked by uid 99); 10 Nov 2014 20:06:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 20:06:35 +0000 Date: Mon, 10 Nov 2014 20:06:35 +0000 (UTC) From: "Michael Shuler (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8081) AssertionError with 2ndary indexes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Shuler updated CASSANDRA-8081: -------------------------------------- Assignee: Marcus Eriksson > AssertionError with 2ndary indexes > ----------------------------------- > > Key: CASSANDRA-8081 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8081 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: kais > Assignee: Marcus Eriksson > > If you create a table with a column type text or blob and add a secondary index on it. If you insert a value that is longer than FBUtilities.MAX_UNSIGNED_SHORT, then flush, you get an assertion error > {code} > CREATE TABLE test_text (key text PRIMARY KEY, col text); > CREATE INDEX test_text_col_idx ON test_text (col); > {code} > {code} > INFO [FlushWriter:3] 2014-10-08 10:53:38,471 Memtable.java (line 331) Writing Memtable-test_text.test_text_col_idx@849649959(15/150 serialized/live bytes, 1 ops) > INFO [FlushWriter:4] 2014-10-08 10:53:38,554 Memtable.java (line 331) Writing Memtable-test_text@1448092010(100025/1000250 serialized/live bytes, 2 ops) > ERROR [FlushWriter:3] 2014-10-08 10:53:38,554 CassandraDaemon.java (line 196) Exception in thread Thread[FlushWriter:3,5,RMI Runtime] > java.lang.AssertionError: 100000 > at org.apache.cassandra.utils.ByteBufferUtil.writeWithShortLength(ByteBufferUtil.java:342) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)