scylladb / gemini

Test data integrity by comparing against an Oracle running in parallel
Apache License 2.0
27 stars 16 forks source link

fix(generators): limit partitions count when size ot pk is too small #395

Closed dkropachev closed 11 months ago

dkropachev commented 11 months ago

There is a problem that leads to gemini being stuck, due to unability of generator to hit certain partitions. It happens when partition columns size is too small for murmur to get 100% partition coverage.

There are multiple ways to fix that, but easiest is to calculate pk columns sizes and reduce partition count to match it.