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 141D7EBAF for ; Sun, 20 Jan 2013 23:24:14 +0000 (UTC) Received: (qmail 38711 invoked by uid 500); 20 Jan 2013 23:24:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 38466 invoked by uid 500); 20 Jan 2013 23:24:13 -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 38164 invoked by uid 99); 20 Jan 2013 23:24:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jan 2013 23:24:13 +0000 Date: Sun, 20 Jan 2013 23:24:13 +0000 (UTC) From: "Matt Stump (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-5176) Binary protocol should respond with RESULT message to REGISTER request MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Matt Stump created CASSANDRA-5176: ------------------------------------- Summary: Binary protocol should respond with RESULT message to REGISTER request Key: CASSANDRA-5176 URL: https://issues.apache.org/jira/browse/CASSANDRA-5176 Project: Cassandra Issue Type: Improvement Components: API Reporter: Matt Stump Priority: Minor The native binary protocol responds with READY to a REGISTER event. This means the READY message has two separate meanings. One being that the connection is READY for use, and the second being that the events were registered successfully. It makes more sense to respond instead with a RESULT, as the message is a response to a user request, and makes it possible to reuse event dispatch code already required when implementing drivers. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira