Avi Kivity
8ab20bae68
Merge 'prepared_statements: Invalidate batch statement too' from Eliran Sinvani
...
It seams that batch prepared statements always return false for
depends_on_keyspace and depends_on_column_family, this in turn
renders the removal criteria from the cache to always be false
which result by the queries not being evicted.
Here we change the functions to return the true state meaning,
they will return true if any of the sub queries is dependant upon
the keyspace or column family.
In this fix we first make the API more coherent and then use this new API to implement
the batch statement's dependency test.
Fixes #10129
Signed-off-by: Eliran Sinvani <eliransin@scylladb.com >
Closes #10132
* github.com:scylladb/scylla:
prepared_statements: Invalidate batch statement too
cql3 statements: Change dependency test API to express better it's purpose
2022-03-07 14:00:05 +02:00
..
2022-01-18 12:15:18 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-03-07 14:00:05 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-03-02 10:12:57 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-27 11:48:03 +02:00
2022-03-07 14:00:05 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-03-02 10:12:57 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-03-07 14:00:05 +02:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00