Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76D669CC2 for ; Tue, 6 Mar 2012 12:35:26 +0000 (UTC) Received: (qmail 4064 invoked by uid 500); 6 Mar 2012 12:35:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 4039 invoked by uid 500); 6 Mar 2012 12:35:24 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 4030 invoked by uid 99); 6 Mar 2012 12:35:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 12:35:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vjevdokimov@gmail.com designates 209.85.160.172 as permitted sender) Received: from [209.85.160.172] (HELO mail-gy0-f172.google.com) (209.85.160.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 12:35:17 +0000 Received: by ghbg16 with SMTP id g16so2411233ghb.31 for ; Tue, 06 Mar 2012 04:34:57 -0800 (PST) Received-SPF: pass (google.com: domain of vjevdokimov@gmail.com designates 10.60.4.225 as permitted sender) client-ip=10.60.4.225; Authentication-Results: mr.google.com; spf=pass (google.com: domain of vjevdokimov@gmail.com designates 10.60.4.225 as permitted sender) smtp.mail=vjevdokimov@gmail.com; dkim=pass header.i=vjevdokimov@gmail.com Received: from mr.google.com ([10.60.4.225]) by 10.60.4.225 with SMTP id n1mr9667476oen.11.1331037296924 (num_hops = 1); Tue, 06 Mar 2012 04:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=xlLdIVBcBimaP7uIEVo/rK0ihCNlt1CVO0QcQOlVQOE=; b=P8iWn/30Pfc5yn6J3Dk4DvqVUjqISXFhZYPzV3qw46TmV7vk3+qKjLqlbX9xt7SwMC jrbs7l4jqAWsdhZwyvWwr2fqEu4k8UHQ2NlF7ufxNCo6ERgJfyBPOaFT/8N0zVLG5VJF BPflRhU/w+439dnUewfZXxXS2YwiFMHt9pZMOGLKwPDCeQNSuLJzSfaWXYUXtFm/Z8dX 6o3PJFGs2jGqD5FXwE+7DoG4axM7kXVSff3FEgKccuuL1vjn4ZyfB6zEqz2a07selftu r2LQj/c/mGBc7C6CC8RjlQoFSeMaw5jTUAfabomMxDzN+R8S9+uPKsxTRL4jtDqwqy/3 o6KQ== MIME-Version: 1.0 Received: by 10.60.4.225 with SMTP id n1mr8431969oen.11.1331037296891; Tue, 06 Mar 2012 04:34:56 -0800 (PST) Received: by 10.182.43.100 with HTTP; Tue, 6 Mar 2012 04:34:56 -0800 (PST) Date: Tue, 6 Mar 2012 14:34:56 +0200 Message-ID: Subject: Truncate flushes memtables for all CFs causing timeouts From: Viktor Jevdokimov To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1c7944396f504ba92454e X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c7944396f504ba92454e Content-Type: text/plain; charset=ISO-8859-1 Hello, Truncate uses RPC timeout, which is in my case set to 10 seconds (I want even less) and it's not enough. I've seen in sources TODO for this case. What I found is that truncate starting flush for all memtables for all CFs, not only for a CF to be truncated. When there're a lot of CFs to be flushed, it takes time. Is it possible to flush only required CF for truncate, not all? This could improve truncate time. Best regards, Viktor --e89a8ff1c7944396f504ba92454e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

Truncate uses RPC timeout, which is in my ca= se set to 10 seconds (I want even less) and it's not enough. I've s= een in sources TODO for this case.

What I found is= that truncate starting flush for all memtables for all CFs, not only for a= CF to be truncated. When there're a lot of CFs to be flushed, it takes= time.

Is it possible to flush only required CF for truncate, = not all? This could improve truncate time.


Best regards,
Viktor


--e89a8ff1c7944396f504ba92454e--