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 9171010DD3 for ; Tue, 1 Apr 2014 18:11:29 +0000 (UTC) Received: (qmail 37938 invoked by uid 500); 1 Apr 2014 18:11:23 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 37909 invoked by uid 500); 1 Apr 2014 18:11:22 -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 37799 invoked by uid 99); 1 Apr 2014 18:11:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 18:11:18 +0000 Date: Tue, 1 Apr 2014 18:11:18 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-6969) Use Unsafe Mutations Where Possible in Unit Tests 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-6969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956833#comment-13956833 ] Benedict edited comment on CASSANDRA-6969 at 4/1/14 6:10 PM: ------------------------------------------------------------- If this is the plan, why not just convert to periodic CL? I thought the reason we used Batch CL in unit tests was to give it a bit of a run in case it happens to catch something? (Admittedly not the most scientific of reasons, but if we're planning on disabling it everywhere, it does seem like using Batch doesn't buy us much) was (Author: benedict): If this is the plan, why not just convert to periodic CL? I thought the reason we used Batch CL in unit tests was to give it a bit of a run in case it happens to catch something? > Use Unsafe Mutations Where Possible in Unit Tests > ------------------------------------------------- > > Key: CASSANDRA-6969 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6969 > Project: Cassandra > Issue Type: Test > Components: Tests > Reporter: Tyler Hobbs > Assignee: Lyuben Todorov > Priority: Minor > > Since the test config uses the "batch" mode for the commitlog, safe writes are quite slow. In tests that don't rely on safe writes, we should use unsafe writes. This mostly consists of converting {{RowMutation.apply()}} calls into {{RowMutation.applyUnsafe()}} calls. -- This message was sent by Atlassian JIRA (v6.2#6252)