[MDEV-22246] Result rows duplicated by spider engine Created: 2020-04-14 Updated: 2020-10-06 Resolved: 2020-08-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 10.4.12 |
| Fix Version/s: | 10.4.16, 10.5.7, 10.6.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Bai Yang | Assignee: | Kentoku Shiba (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu Server 18.04 x64 |
||
| Description |
|
I've two mysql server 'G0' and 'G1'. And there is a one row test table on them respectively. G0:
G1:
I'm then using the spider engine offered by MariaDB 10.4 (mysqld Ver 10.4.12-MariaDB-1:10.4.12+maria~bionic-log for debian-linux-gnu on x86_64 (mariadb.org binary distribution)) to combine them like this:
It's working well for a simple query like this:
But it doubled the results when using this condition:
Here is my Spider related settings:
I commented out all the above settings and tried again, the results are same. I've also changed the PARTITION BY HASH (id) to PARTITION BY KEY(id). And the result is exactly same, the duplicated rows still there. |