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 B14C318A8A for ; Tue, 1 Sep 2015 12:20:46 +0000 (UTC) Received: (qmail 24897 invoked by uid 500); 1 Sep 2015 12:20:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 24864 invoked by uid 500); 1 Sep 2015 12:20:46 -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 24848 invoked by uid 99); 1 Sep 2015 12:20:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 12:20:46 +0000 Date: Tue, 1 Sep 2015 12:20:46 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-10146) Deprecate v1 and v2 protocol in 2.2, drop support in 3.0 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-10146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14725298#comment-14725298 ] Benjamin Lerer edited comment on CASSANDRA-10146 at 9/1/15 12:20 PM: --------------------------------------------------------------------- [~slebresne] My plan was to start working on it tomorrow. was (Author: blerer): [~slebresne] My plan was to start working on it tommorrow. > Deprecate v1 and v2 protocol in 2.2, drop support in 3.0 > -------------------------------------------------------- > > Key: CASSANDRA-10146 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10146 > Project: Cassandra > Issue Type: Task > Components: Core > Reporter: Tyler Hobbs > Assignee: Benjamin Lerer > Labels: client-impacting, doc-impacting > Fix For: 2.2.x, 3.0.0 rc1 > > > In 3.0, we would like to use frozen collections in the system keyspaces, and it seems likely that we will eventually want to use tuples or nested collections as well. Drivers that only support protocol versions 1 and 2 will not be able to read these system keyspaces because they cannot decode those types. > I think this is a good time to start deprecating and dropping support for old protocol versions. The v3 protocol was introduced in 2.1, so if we remove support for v1 and v2 in 3.0, that gives users two major versions to upgrade their drivers. Fortunately, upgrading drivers to a version that supports the v3 protocol is generally straightforward. > The benefits of doing this are: > * We can use new types in the system keyspaces > * We can eliminate protocol-version-specific encoding and decoding of collections within Cassandra > * Driver maintainers can eventually drop support for old protocol versions once all C* versions that support them are EOL > To avoid a hard drop of v1 and v2 support in 3.0, I propose that we also officially deprecate these in 2.2. Unfortunately, we don't have protocol-level warnings until v4, so we can't use that to notify users of the deprecation, but the combination of a NEWS.txt entry, warning logs, and (potentially) driver-level warnings should suffice. -- This message was sent by Atlassian JIRA (v6.3.4#6332)