[MDEV-10235] Deadlock in CREATE TABLE ... AS SELECT .. if result set is empty in Galera Created: 2016-06-14 Updated: 2016-06-28 Resolved: 2016-06-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, wsrep |
| Affects Version/s: | 10.1.14 |
| Fix Version/s: | 10.1.15 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ddl, galera, wsrep | ||
| Description |
|
If I execute a CREATE TABLE ... AS SELECT ... on a Galera Cluster node, and the result set of the query is empty, then the query will deadlock. Let's say that we have the following table on a Galera Cluster node:
The following query works just fine:
But this query deadlocks:
Galera version:
|