You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: 7e09d0c20 (Git branch 'HEAD') built on Tue Jan 5 17:54:43 UTC 2021 by vitess@504c9a859469 using go1.13.15 linux/amd64
Operating system and Environment details
Bug is reproducible in docker_local environment.
Log Fragments
/debug/querylog output when running the problematic query:
On master tablet in customer namespace:
SelectImpossible "select * from aliases where 1 != 1"
On master tablet in lookup namespace:
Select "select alias, customer_id from aliases_alias_lookup where alias in ::__vals" map[#maxLimit:type:INT64 value:"10001" __vals:type:VARBINARY value:"1 items" alias:type:VARBINARY value:"1 items" ] 1 "select alias, customer_id from aliases_alias_lookup where alias in ('Test') limit 10001"
The text was updated successfully, but these errors were encountered:
aquarapid
changed the title
Vindex with type 'unicode_loose_md5' seems to be broken in 8.0.0
Lookup vindex with lookup key type 'unicode_loose_md5' seems to be broken in 8.0.0
Jan 5, 2021
Overview of the Issue
While trying to upgrade to v8.0.0 we have noticed that case-insensitive vindexes seem to not be working anymore.
Reproduction Steps
From the directory with sources of v8.0.0 of Vitess:
In docker shell:
source ./env.sh CELL=zone1 TABLET_UID=300 ./scripts/mysqlctl-up.sh CELL=zone1 TABLET_UID=301 ./scripts/mysqlctl-up.sh CELL=zone1 TABLET_UID=400 ./scripts/mysqlctl-up.sh CELL=zone1 TABLET_UID=401 ./scripts/mysqlctl-up.sh CELL=zone1 TABLET_UID=500 ./scripts/mysqlctl-up.sh CELL=zone1 TABLET_UID=501 ./scripts/mysqlctl-up.sh CELL=zone1 TABLET_UID=600 ./scripts/mysqlctl-up.sh CELL=zone1 TABLET_UID=601 ./scripts/mysqlctl-up.sh SHARD=-80 CELL=zone1 KEYSPACE=customer TABLET_UID=300 ./scripts/vttablet-up.sh SHARD=-80 CELL=zone1 KEYSPACE=customer TABLET_UID=301 ./scripts/vttablet-up.sh SHARD=80- CELL=zone1 KEYSPACE=customer TABLET_UID=400 ./scripts/vttablet-up.sh SHARD=80- CELL=zone1 KEYSPACE=customer TABLET_UID=401 ./scripts/vttablet-up.sh SHARD=-80 CELL=zone1 KEYSPACE=lookup TABLET_UID=500 ./scripts/vttablet-up.sh SHARD=-80 CELL=zone1 KEYSPACE=lookup TABLET_UID=501 ./scripts/vttablet-up.sh SHARD=80- CELL=zone1 KEYSPACE=lookup TABLET_UID=600 ./scripts/vttablet-up.sh SHARD=80- CELL=zone1 KEYSPACE=lookup TABLET_UID=601 ./scripts/vttablet-up.sh vtctlclient InitShardMaster -force customer/-80 zone1-300 vtctlclient InitShardMaster -force customer/80- zone1-400 vtctlclient InitShardMaster -force lookup/-80 zone1-500 vtctlclient InitShardMaster -force lookup/80- zone1-600 vtctlclient ApplySchema -sql-file lookup_schema.sql lookup vtctlclient ApplyVSchema -vschema_file lookup_vschema.json lookup vtctlclient ApplySchema -sql-file customer_schema.sql customer vtctlclient ApplyVSchema -vschema_file customer_vschema.json customer
After connecting to DB with mysql client:
Expected result: 1 row
Actual result: 0 rows
Files required to reproduce the issue:
lookup_vschema.json
lookup_schema.sql
customer_vschema.json
customer_schema.sql
Binary version
Git tag
v8.0.0
, commit 7e09d0c.Version: 7e09d0c20 (Git branch 'HEAD') built on Tue Jan 5 17:54:43 UTC 2021 by vitess@504c9a859469 using go1.13.15 linux/amd64
Operating system and Environment details
Bug is reproducible in docker_local environment.
Log Fragments
/debug/querylog
output when running the problematic query:On master tablet in
customer
namespace:On master tablet in
lookup
namespace:The text was updated successfully, but these errors were encountered: