default write consistency level changed from ZERO to ONE

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.6@924953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Ellis 2010-03-18 19:08:57 +00:00
parent 76f4819e33
commit 5f4ab2f040
3 changed files with 9 additions and 8 deletions

View File

@ -2,6 +2,7 @@
* JMX drain to flush memtables and run through commit log (CASSANDRA-880) * JMX drain to flush memtables and run through commit log (CASSANDRA-880)
* Bootstrapping can skip ranges under the right conditions (CASSANDRA-902) * Bootstrapping can skip ranges under the right conditions (CASSANDRA-902)
* fix merging row versions in range_slice for CL > ONE (CASSANDRA-884) * fix merging row versions in range_slice for CL > ONE (CASSANDRA-884)
* default write ConsistencyLeven chaned from ZERO to ONE
0.6.0-beta3 0.6.0-beta3

View File

@ -380,7 +380,7 @@ service Cassandra {
3:required ColumnPath column_path, 3:required ColumnPath column_path,
4:required binary value, 4:required binary value,
5:required i64 timestamp, 5:required i64 timestamp,
6:required ConsistencyLevel consistency_level=ZERO) 6:required ConsistencyLevel consistency_level=ONE)
throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te), throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te),
/** /**
@ -392,7 +392,7 @@ service Cassandra {
void batch_insert(1:required string keyspace, void batch_insert(1:required string keyspace,
2:required string key, 2:required string key,
3:required map<string, list<ColumnOrSuperColumn>> cfmap, 3:required map<string, list<ColumnOrSuperColumn>> cfmap,
4:required ConsistencyLevel consistency_level=ZERO) 4:required ConsistencyLevel consistency_level=ONE)
throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te), throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te),
/** /**
@ -404,7 +404,7 @@ service Cassandra {
2:required string key, 2:required string key,
3:required ColumnPath column_path, 3:required ColumnPath column_path,
4:required i64 timestamp, 4:required i64 timestamp,
5:ConsistencyLevel consistency_level=ZERO) 5:ConsistencyLevel consistency_level=ONE)
throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te), throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te),
/** /**
@ -414,7 +414,7 @@ service Cassandra {
**/ **/
void batch_mutate(1:required string keyspace, void batch_mutate(1:required string keyspace,
2:required map<string, map<string, list<Mutation>>> mutation_map, 2:required map<string, map<string, list<Mutation>>> mutation_map,
3:required ConsistencyLevel consistency_level=ZERO) 3:required ConsistencyLevel consistency_level=ONE)
throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te), throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException te),
// Meta-APIs -- APIs to get information about the node or cluster, // Meta-APIs -- APIs to get information about the node or cluster,

View File

@ -11215,7 +11215,7 @@ public class Cassandra {
} }
public insert_args() { public insert_args() {
this.consistency_level = ConsistencyLevel.ZERO; this.consistency_level = ConsistencyLevel.ONE;
} }
@ -12404,7 +12404,7 @@ public class Cassandra {
} }
public batch_insert_args() { public batch_insert_args() {
this.consistency_level = ConsistencyLevel.ZERO; this.consistency_level = ConsistencyLevel.ONE;
} }
@ -13445,7 +13445,7 @@ public class Cassandra {
} }
public remove_args() { public remove_args() {
this.consistency_level = ConsistencyLevel.ZERO; this.consistency_level = ConsistencyLevel.ONE;
} }
@ -14539,7 +14539,7 @@ public class Cassandra {
} }
public batch_mutate_args() { public batch_mutate_args() {
this.consistency_level = ConsistencyLevel.ZERO; this.consistency_level = ConsistencyLevel.ONE;
} }