Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 26056 invoked from network); 13 Jul 2010 20:21:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 20:21:16 -0000 Received: (qmail 55711 invoked by uid 500); 13 Jul 2010 20:21:16 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 55674 invoked by uid 500); 13 Jul 2010 20:21:15 -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 55666 invoked by uid 99); 13 Jul 2010 20:21:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 20:21:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 20:21:13 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6DKKp8r025199 for ; Tue, 13 Jul 2010 20:20:51 GMT Message-ID: <32377523.357851279052451614.JavaMail.jira@thor> Date: Tue, 13 Jul 2010 16:20:51 -0400 (EDT) From: "Toby Jungen (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1093) BinaryMemtable interface silently dropping data. In-Reply-To: <24966965.49781273868082498.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887980#action_12887980 ] Toby Jungen commented on CASSANDRA-1093: ---------------------------------------- Thanks for the insight Jonathan. That was my intuition as well, and I observed my cluster periodically marking nodes as down for a second or two. I figured it was random network hiccups, since our network hardware is rather old. It would make sense that these periodic interruptions caused the BMT to lose data. While looking through the code, I did try to see if I could use BMT with the blocking MessagingService API (in the way the Thrift API works unless ConsistencyLevel.ZERO is specified), but it looks like BMT is hardcoded to be asynchronous. It might be nice for that option to be there, but since this issue appears to only affect me (and I no longer need to use BMT for my purposes), it's a super-low priority suggestion. > BinaryMemtable interface silently dropping data. > ------------------------------------------------ > > Key: CASSANDRA-1093 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1093 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: Linux Centos5, Fedora Core 4. Java HotSpot Server 1.6.0_14. See readme for more details. > Reporter: Toby Jungen > Assignee: Brandon Williams > Fix For: 0.6.3 > > Attachments: cassandra_bmt_test.tar.gz > > > I've been attempting to use the Binary Memtable (BMT) interface to load a large number of rows. During my testing, I discovered that on larger loads (~1 million rows), occasionally some of the data never appears in the database. This happens in a non-deterministic manner, as sometimes all the data loads fine, and other times a significant chunk goes missing. No errors are ever logged to indicate a problem. I'm attaching some sample code that approximates my application's usage of Cassandra and explains this bug in more detail. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.