statement: add default serial consistency: LocalSerial
... to improve user experience. Serial consistency level can be
reset to stronger, cross-DC consistency by calling
set_serial_consistency explicitly.
@@ -26,7 +26,7 @@ impl Default for StatementConfig {
fn default() -> Self {
Self {
consistency: Default::default(),
- serial_consistency: None,
+ serial_consistency: Some(SerialConsistency::LocalSerial),
is_idempotent: false,
retry_policy: None,
speculative_execution_policy: None,
