You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sl...@apache.org on 2012/10/19 08:58:00 UTC
git commit: Fix typo in binary protocol spec
Updated Branches:
refs/heads/trunk ebd11d3ad -> 0f8351004
Fix typo in binary protocol spec
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/0f835100
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/0f835100
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/0f835100
Branch: refs/heads/trunk
Commit: 0f83510046da0652d8258f33ed96554ae2b0b12b
Parents: ebd11d3
Author: Sylvain Lebresne <sy...@datastax.com>
Authored: Fri Oct 19 08:57:53 2012 +0200
Committer: Sylvain Lebresne <sy...@datastax.com>
Committed: Fri Oct 19 08:57:53 2012 +0200
----------------------------------------------------------------------
doc/native_protocol.spec | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/0f835100/doc/native_protocol.spec
----------------------------------------------------------------------
diff --git a/doc/native_protocol.spec b/doc/native_protocol.spec
index b1db8a0..5c84f71 100644
--- a/doc/native_protocol.spec
+++ b/doc/native_protocol.spec
@@ -176,17 +176,15 @@ Table of Contents
representing the port.
[consistency] A consistency level specification. This is a [short]
representing a consistency level with the following
- correspondence:
-
- having
- one of the following value: "", "ANY", "ONE", "TWO", "THREE",
- "QUORUM", "ALL", "LOCAL_QUORUM", "EACH_QUORUM". It is
- possible to provide an empty string, in which case a default
- consistency will be used server side. Providing an empty
- consistency level can also be useful to save bytes for cases
- where a [consistency] is required by the protocol but not
- strictly by the operation. The server never sends an empty
- [consistency] however.
+ correspondance:
+ 0x0000 ANY
+ 0x0001 ONE
+ 0x0002 TWO
+ 0x0003 THREE
+ 0x0004 QUORUM
+ 0x0005 ALL
+ 0x0006 LOCAL_QUORUM
+ 0x0007 EACH_QUORUM
[string map] A [short] n, followed by n pair <k><v> where <k> and <v>
are [string].