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 900F117766 for ; Fri, 24 Oct 2014 15:18:34 +0000 (UTC) Received: (qmail 3297 invoked by uid 500); 24 Oct 2014 15:18:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 3186 invoked by uid 500); 24 Oct 2014 15:18:34 -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 2974 invoked by uid 99); 24 Oct 2014 15:18:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 15:18:34 +0000 Date: Fri, 24 Oct 2014 15:18:34 +0000 (UTC) From: "Stuart Gunter (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-8185) Removing the last item from a collection removes the entire row MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Stuart Gunter created CASSANDRA-8185: ---------------------------------------- Summary: Removing the last item from a collection removes the entire row Key: CASSANDRA-8185 URL: https://issues.apache.org/jira/browse/CASSANDRA-8185 Project: Cassandra Issue Type: Bug Components: Core Environment: Mac OS X Yosemite JDK 8u25 Reporter: Stuart Gunter Priority: Minor When removing the last item from a list or set (and I assume the same applies to maps), the entire row is deleted rather than just that last item. I've only tested this in cases where the collection column is the only non-PK column, but it is definitely a change between v2.0.5 and v2.0.6. I've looked through the 2.0.6 release notes and issues and can't find any item that might describe this, so I assume it's not an intended change. If such an issue exists, I've probably just missed it, so apologies in advance. I've created a very simple project to reproduce the issue. If you clone the repo and run it in two different modes (the README explains how to do this with preconfigured Maven profiles), you will see the tests that pass on v2.0.5 and fail on v2.0.6. Repo: https://github.com/stuartgunter/cassandra-2.0.6-bug -- This message was sent by Atlassian JIRA (v6.3.4#6332)