From user-return-64666-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Tue Oct 29 15:10:23 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8FB801804BB for ; Tue, 29 Oct 2019 16:10:23 +0100 (CET) Received: (qmail 44535 invoked by uid 500); 29 Oct 2019 15:10:18 -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 44525 invoked by uid 99); 29 Oct 2019 15:10:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2019 15:10:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2B0A0C01A8 for ; Tue, 29 Oct 2019 15:10:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hPIz9X-EjWmA for ; Tue, 29 Oct 2019 15:10:16 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::12f; helo=mail-il1-x12f.google.com; envelope-from=ankitgadhiya@gmail.com; receiver= Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 39E8D7F78A for ; Tue, 29 Oct 2019 15:10:16 +0000 (UTC) Received: by mail-il1-x12f.google.com with SMTP id s6so8113249iln.0 for ; Tue, 29 Oct 2019 08:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=T2x5sk5Ki4zSWEGonHOzUZPDatBZxQ2nhajgJ6ke05c=; b=FsvdrhK+zu/zatlOOo41FXVY0/yeJ/wU0M1q3l4ZBYrn8mWu03BlOqkFtI0JA/rQSi po5N+YVYq+HIvWD5sYQW9ETipLtSlpJuVFI9ui7PTbQnsdROGMD8+nIzU90bbQ4mdYQ0 aWN8/T+0FyyiXGGdRFeydtZe0bcPpp8hL+37c95UlJPnFLexSqNkzYUt4qjKubAs6aqR FE/7SxfdXMapeppAvtwvHf/R9AkOwtm0it1ghx6csIPf7ynMt2UaELsGqU0/7Mo9yUHn AEaoSQkw+W1WkYg6dUTke7rz9eKGsf8YUFb7IBkTkYzwgks7VkKNCocPKmEr5rJ6MaZ6 rytA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=T2x5sk5Ki4zSWEGonHOzUZPDatBZxQ2nhajgJ6ke05c=; b=CTJSYnEdMQmiWYxk+0/ovVku/zlYmcY3u3Fju65PvZDyFvTaS3qHGatJw0sFup19MK +F0lFdUXsbyPRwYUzdu8B4eAPM06QpNPB8PVp3QqRi0b/PqFfovOYiwVaJRAHnWz/d8Z 5CpMsERb9UkgEM9B9mrPbDRo9lyn/Rwl9vs3dwsldTjvnM7xwVpuCql++YdXFC9k2/it veDR9RQV7kATl15Qe0SbBC1uW/IOhQtyctm0ucYk5xPNvHmBJT65yiXDhXPJ5NDSYMJ6 hs5Px7giXS2mulLS7CQbLYOmnQh3H6PC+Q3Tzb4RkKVB1HEX1PVbU7LmJeGIl6ETox2T M3ww== X-Gm-Message-State: APjAAAUOXXomMKThTKfkdAegYEjWl5ntassa+C0famfxielNArRK6YO5 k0L0ViRvFJkBEMPk9T2OcRq/WZt5BFd/ryzQB+tXkg== X-Google-Smtp-Source: APXvYqxOpq513pvjLss3iVEKu09tDYus60g3oG4imppISgon9GoUg5toHpz1gEo3weiUj6y3hbwf++wYbq+gOtkhIc0= X-Received: by 2002:a92:4a06:: with SMTP id m6mr23094129ilf.153.1572361814746; Tue, 29 Oct 2019 08:10:14 -0700 (PDT) MIME-Version: 1.0 From: Ankit Gadhiya Date: Tue, 29 Oct 2019 11:10:03 -0400 Message-ID: Subject: Keyspace Clone in Existing Cluster To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="0000000000006d311305960e03f5" --0000000000006d311305960e03f5 Content-Type: text/plain; charset="UTF-8" Hello Folks, Greetings!. I've a requirement in my project to setup Blue-Green deployment for Cassandra. E.x. Say My current active schema (application pointing to) is Keyspace V1.0 and for my next release I want to setup Keysapce 2.0 (with some structural changes) and all testing/validation would happen on it and once successful , App would switch connection to keyspace 2.0 - This would be generic release deployment for our project. One of the approach we thought of would be to Create keyspace 2.0 as clone from Keyspace 1.0 including data using sstableloader but this would be time consuming, also being a multi-node cluster (6+6 in each DC) - it wouldn't be very feasible to do this manually on all the nodes for multiple tables part of that keyspace. Was wondering if we have any other creative way to suffice this requirement. Appreciate your time on this. *Thanks & Regards,* *Ankit Gadhiya* --0000000000006d311305960e03f5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Folks,

Greetings!.

I've a requirement in my= project to setup Blue-Green deployment for Cassandra. E.x. Say My current = active schema (application pointing to) is Keyspace V1.0 and for my next re= lease I want to setup Keysapce 2.0 (with some structural changes) and all t= esting/validation would happen on it and once successful=C2=A0, App would s= witch connection to keyspace 2.0 - This would be generic release deployment= for our project.

One of the approach we thought of would be to Create= keyspace 2.0 as clone from Keyspace 1.0 including data using sstableloader= but this would be time consuming, also being a multi-node cluster (6+6 in = each DC) - it wouldn't be very feasible to do this manually on all the = nodes for multiple tables part of that keyspace. Was wondering if we have a= ny other creative way to suffice this requirement.

Appreciate your tim= e on this.


Thanks & Regards,
Ankit Gadhiya

--0000000000006d311305960e03f5--