whatyouhide/xandra

If a protocol version is explicitly forced, we should not gracefully downgrade

Closed this issue · 0 comments

This is a bug that was introduced in #230. If you do protocol_version: :v4 and C* doesn't support v4, Xandra will gracefully fall back to v3. This is, in my opinion, unexpected behavior. The principle of least astonishment here would be that if a user specified the protocol version explicitly then Xandra should fail if C* cannot satisfy that protocol version.