[MDEV-16547] Spider Crash server in 10.3.7 Version Created: 2018-06-21 Updated: 2020-08-25 Resolved: 2018-09-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 10.3.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Antoine Girardi | Assignee: | Jacob Mathew (Inactive) |
| Resolution: | Cannot Reproduce | Votes: | 2 |
| Labels: | None | ||
| Environment: |
Windows |
||
| Attachments: |
|
| Description |
|
Hi, we have upgraded to 10.3.7 because of some crashes in 10.1.25
---------------------------
------------------
|
| Comments |
| Comment by PALMA Gabin [ 2018-06-22 ] | |||||||||
|
We reproduce systematically the crash when select 1 from a table sipder is execute. on 10.3.7 | |||||||||
| Comment by Jacob Mathew (Inactive) [ 2018-08-30 ] | |||||||||
|
Note that the two stack traces are very different. The first stack trace does not go through Spider and indicates that a DROP TABLE statement was being executed. The second stack trace is an impossible stack trace that appears to go through Spider. It is an impossible stack trace because the function spider_ping_table_init() does not call itself. | |||||||||
| Comment by Jacob Mathew (Inactive) [ 2018-08-30 ] | |||||||||
|
The customer's information files were not added to this bug. I have now copied them from the support case and added them to this bug as attachments. | |||||||||
| Comment by Jacob Mathew (Inactive) [ 2018-08-30 ] | |||||||||
|
There are numerous errors in the Spider node server's event log that indicate that the customer did not run mysql_upgrade. The customer needs to run mysql_upgrade on the Spider node and then retry. | |||||||||
| Comment by Jacob Mathew (Inactive) [ 2018-08-30 ] | |||||||||
|
The spider node server's event log contains numerous error messages regarding network connections. In order to use Spider, the network needs to be reliable. | |||||||||
| Comment by Jacob Mathew (Inactive) [ 2018-08-30 ] | |||||||||
|
We also need to see the customer's CREATE SERVER statements that were entered on the Spider node. There are numerous errors in the Spider node server's event log regarding access denied for the 'spider' user. | |||||||||
| Comment by Jacob Mathew (Inactive) [ 2018-09-05 ] | |||||||||
|
The customer replied that they enter the following CREATE SERVER statements on each respective data node:
, and that they enter the following CREATE SERVER statement on the Spider node:
This would seem to indicate that the customer does not understand how to set up Spider. The customer needs to read the following KB page before proceeding:
The CREATE SERVER statements are to be executed only on the Spider node. Each CREATE SERVER statement defines a connection from the Spider node to one of the data nodes. So their first three CREATE SERVER statements need to be executed on the Spider node. The 4th CREATE SERVER statement should be removed. The 'spider' user on each data node needs to be set up so that the CREATE SERVER connections from the Spider node can log in remotely from the Spider node. Otherwise, those network connections from the Spider node will be aborted because access is denied. The syntax the customer is using on the CREATE TABLE statements is correct if they want the full table duplicated on each data node. It is NOT correct if they want to shard the table across the 3 data nodes. Refer to the KB page for the correct syntax for sharding. Partitioning is necessary for sharding. Only the DDL statements should be entered on every server. The DML statements, i.e. INSERT, UPDATE, DELETE and SELECT should be entered only on the Spider node. | |||||||||
| Comment by Jacob Mathew (Inactive) [ 2018-09-11 ] | |||||||||
|
Per Satoru Goto, the partner (Smart Style) and the end customer misunderstood the architecture of Spider; the end customer uses Spider just for HA monitoring. Satoru Goto has asked for the issue to be closed. | |||||||||
| Comment by Jacob Mathew (Inactive) [ 2018-09-11 ] | |||||||||
|
Closing the issue as requested by Satoru Goto. I could not reproduce it. |