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 2713718388 for ; Tue, 19 Jan 2016 07:45:45 +0000 (UTC) Received: (qmail 68713 invoked by uid 500); 19 Jan 2016 07:45:40 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 68681 invoked by uid 500); 19 Jan 2016 07:45:40 -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 68669 invoked by uid 99); 19 Jan 2016 07:45:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2016 07:45:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D60B82C1F5B for ; Tue, 19 Jan 2016 07:45:39 +0000 (UTC) Date: Tue, 19 Jan 2016 07:45:39 +0000 (UTC) From: "Stefania (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9949) maxPurgeableTimestamp needs to check memtables too 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-9949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106398#comment-15106398 ] Stefania commented on CASSANDRA-9949: ------------------------------------- Thank you for your review [~krummas], please see [this commit| https://github.com/stef1927/cassandra/commit/96dacb1c2f555d34753901e48fecf1f8f0190393]. I've clarified the comment best I could and added a test to show what I mean. If it still doesn't make much sense to you, perhaps we should just change the test and pick the reconciled timestamp. I must admit I am not 100% sure of what's best. I've updated {{CompactionController.getFullyExpiredSSTables()}} and added a unit test for it. > maxPurgeableTimestamp needs to check memtables too > -------------------------------------------------- > > Key: CASSANDRA-9949 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9949 > Project: Cassandra > Issue Type: Bug > Components: Local Write-Read Paths > Reporter: Jonathan Ellis > Assignee: Stefania > Fix For: 2.2.x, 3.0.x, 3.x > > > overlapIterator/maxPurgeableTimestamp don't include the memtables, so a very-out-of-order write could be ignored -- This message was sent by Atlassian JIRA (v6.3.4#6332)