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
Connect to vtgate, verify environment, insert a row and DELETE the row, observing the issue:
$ mysql -u root -P 15306 -h 127.0.0.1 -u root customer -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.9-Vitess MySQL Community Server - GPL
Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show tables;
+-----------------------+
| Tables_in_vt_customer |
+-----------------------+
| corder |
| customer |
| lookup_t1 |
| t1 |
+-----------------------+
4 rows in set (0.01 sec)
mysql> insert into t1 values (1, 2);
Query OK, 1 row affected (0.01 sec)
mysql> select * from t1;
+----+----+
| c1 | c2 |
+----+----+
| 1 | 2 |
+----+----+
1 row in set (0.01 sec)
mysql> select * from lookup_t1;
+----+--------------------------+
| c2 | keyspace_id |
+----+--------------------------+
| 2 | 0x166B40B44ABA4BD6 |
+----+--------------------------+
1 row in set (0.00 sec)
mysql> DELETE FROM t1 WHERE c2=2;
<hang for 30 secs>
ERROR 1205 (HY000): vtgate: http://localhost:15001/: execDeleteEqual: lookup.Delete: Code: DEADLINE_EXCEEDED
vttablet: Lock wait timeout exceeded; try restarting transaction (errno 1205) (sqlstate HY000) (CallerID: userData1): Sql: "delete from lookup_t1 where c2 = :c2 and keyspace_id = :keyspace_id", BindVars: {#maxLimit: "type:INT64 value:\"10001\" "c2: "type:INT32 value:\"2\" "keyspace_id: "type:VARBINARY value:\"\\026k@\\264J\\272K\\326\" "}
target: customer.-80.master, used tablet: zone1-300 (localhost)
The text was updated successfully, but these errors were encountered:
Scenario:
The text was updated successfully, but these errors were encountered: