[MDEV-27397] Information schema shows wrong statistics about Spider partitions right after Spider table creation Created: 2021-12-31 Updated: 2023-05-23 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Information Schema, Storage Engine - Spider |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergey Zhylinsky | Assignee: | Yuchen Pei |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
Steps to reproduce: 1. Launch two docker containers. 2. Create two databases test1 and test2 on one of the servers. 3. Create two empty tables, test1.user and test2.user with the following schema:
4. On the other server create table test.user with the following schema:
5. Review the statistics about newly created partitions:
According to the output each remote partition has 2 rows each. But the remote tables, that serve as partitions for a SPIDER table, a empty. Another way to reproduce: 2. Create two databases, test1 and test2, inside a container that doesn't have Spider. 3. Create database test inside a container with Spider plugin. 4. Create table test.user:
5. View the statistics:
6. Create table test1.user on another container:
And review the statstics on a container with Spider:
7. Repeat previous step by creating table test2.user |
| Comments |
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-01-12 ] | ||||||||||||||||||||
|
Roel Could you verify the bug? | ||||||||||||||||||||
| Comment by Roel Van de Paar [ 2022-01-15 ] | ||||||||||||||||||||
|
Bug confirmed as described. Docker is not needed. Change port as required.
Leads to:
Bug confirmed on 10.4-10.8, and likely present in earlier versions also. |