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 8087B18637 for ; Thu, 23 Jul 2015 19:02:10 +0000 (UTC) Received: (qmail 15115 invoked by uid 500); 23 Jul 2015 19:02:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 15079 invoked by uid 500); 23 Jul 2015 19:02:05 -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 14905 invoked by uid 99); 23 Jul 2015 19:02:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2015 19:02:05 +0000 Date: Thu, 23 Jul 2015 19:02:05 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9498) If more than 65K columns, sparse layout will break 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-9498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14639369#comment-14639369 ] Benedict commented on CASSANDRA-9498: ------------------------------------- We need to switch {{writeShort}} to {{writeUnsignedVInt}} in a few places. This actually affects more than sparse layout, with {{Columns.Serializer}} also needing updating. We should probably reconsider all of our uses of {{writeShort}}, as it may be they would all do better vint encoded. > If more than 65K columns, sparse layout will break > -------------------------------------------------- > > Key: CASSANDRA-9498 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9498 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Benedict > Priority: Minor > Fix For: 3.0 beta 1 > > > Follow up to CASSANDRA-8099. It is a relatively small bug, since the exposed population of users is likely to be very low, but fixing it in a good way is a bit tricky. I'm filing a separate JIRA, because I would like us to address this by introducing a writeVInt method to DataOutputStreamPlus, that we can also exploit to improve the encoding of timestamps and deletion times, and this JIRA will help to track the dependencies. -- This message was sent by Atlassian JIRA (v6.3.4#6332)