[MDEV-9285] Select count(*) on spider table gives wrong result Created: 2015-12-14 Updated: 2016-01-25 Resolved: 2016-01-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 10.0.21 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Mauro Odino | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
Spider node: mariadb 10.0.21, spider version 3.2.21, so windows server 2007 |
||
| Description |
|
I have a cluster with a master node running spider engine + 3 data nodes. I created a table (test_table)sharded on the three data nodes, with one (or more) secondary index. Running a select count(*) where ... from test_table on the spider node I have a result different from the sum of the same query executed directly on the three data nodes. Removing the secondary index from the table the query gives the right result. |
| Comments |
| Comment by Elena Stepanova [ 2015-12-28 ] |
|
We'll need a lot more than this to find out what goes wrong. Thanks. |