mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 19:21:01 +00:00
The mechanism of session record params is currently only used to store query strings and a couple more params like consistency level, but since we now have more frontends than just CQL and Thrift, it would be nice to also allow the users to put custom parameters in there. An immediate first user of this mechanism would be alternator, which is going to put the operation type under the "alternator_op" key. The operation type is not part of the query string due to how DynamoDB's protocol works - the op type is stored separately in the HTTP header. While it's possible to extract the operation type from the session_id, it might not be the case once #2572 is implemented.