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 5074118D49 for ; Thu, 26 Nov 2015 11:10:11 +0000 (UTC) Received: (qmail 89327 invoked by uid 500); 26 Nov 2015 11:10:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 89292 invoked by uid 500); 26 Nov 2015 11:10:11 -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 89277 invoked by uid 99); 26 Nov 2015 11:10:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 11:10:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 008102C1F5A for ; Thu, 26 Nov 2015 11:10:11 +0000 (UTC) Date: Thu, 26 Nov 2015 11:10:11 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-10775) SSTable compression ratio is not serialized properly 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-10775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Lerer updated CASSANDRA-10775: --------------------------------------- Attachment: 10775-2.2.txt The patch makes sure that the metadata are computed after the compression ratio addition. Waiting for CI results > SSTable compression ratio is not serialized properly > ---------------------------------------------------- > > Key: CASSANDRA-10775 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10775 > Project: Cassandra > Issue Type: Bug > Components: Local Write-Read Paths > Reporter: Benjamin Lerer > Assignee: Benjamin Lerer > Fix For: 3.0.x, 3.x > > Attachments: 10775-2.2.txt > > > While reviewing CASSANDRA-10225, I found out that the compression ratio returned by the {{StatsMetadata}} for some compressed sstables was - 1 (NO_COMPRESSION_RATIO). > After investigation it seems that the wrong compression ratio was serialized to disk. -- This message was sent by Atlassian JIRA (v6.3.4#6332)