mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 18:40:38 +00:00
This patch adds a cql-pytest test for an old secondary-index bug that was described three years ago in issue #5823. cql-pytest makes it easy to run the same test against different versions of Scylla, and it was used to check that the bug existed in Scylla 2.3.0 but was gone by 2.3.5, and also not present in master or in 2021.1. A bit about the bug itself: A secondary index is useful for equality restrictions (a=2) but can't be used for inequality restrictions (a>=2). In Scylla 3.2.0 we used to have a bug that because the restriction a>=2 couldn't be used through the index, it was ignored completely. This is of course a mistake. Refs #5823 Signed-off-by: Nadav Har'El <nyh@scylladb.com> Closes #12856