how to set cassandra read and write consistency
问题 I can not find the documentation for this. I know there is a consistency command in cqlsh, but there is no distinction between read and write consistency. How would I set different consistency levels for read and write? Furthermore, there is a mention of a "default" consistency level. Where is that default set? and is it for read or write? 回答1: By default, the Consistency Level is ONE for all R/W Operations. Setting CL is done on a per query (read or upsert) basis by adding the CONSISTENCY