Certain queries can yield read timeout, write timeout and unavailable errors with a different consistency level than that which was used.
A good example of this is making a CAS query (like update..if exists). The consistency level returned in an error can be the Serial CL instead of the regular CL if the error happened as part of the paxos phase.
ReadTimeoutConfig, WriteTimeoutConfig and UnavailableConfig could be updated to accept an optional Consistency level for which when the error is raised it includes that CL.
Certain queries can yield read timeout, write timeout and unavailable errors with a different consistency level than that which was used.
A good example of this is making a CAS query (like update..if exists). The consistency level returned in an error can be the Serial CL instead of the regular CL if the error happened as part of the paxos phase.
ReadTimeoutConfig, WriteTimeoutConfig and UnavailableConfig could be updated to accept an optional Consistency level for which when the error is raised it includes that CL.