Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.2.6
-
None
-
Linux
Description
When session level SQL_MODE is set in the spider node, this is not replicated to the data nodes in Spider, causing issues with data that is correct in the spider node SQL_MODE setting but is not in data nodes unless SQL_MODE is set there also to align with the spider node setting.
Attachments
Issue Links
- duplicates
-
MDEV-16508 spider: sql_mode not maintained between spider node and data nodes
-
- Closed
-
This may not be noticed unless the spider node (or datanodes) have a stricter sql_mode setting than expected. e.g. during replication the upstream master could be configured differently. I saw this break replication. The issue was due to a configuration mistake but it's clear that sql_mode settings need to be applied on the data nodes to be the same as the session. Whether that comes through via a normal query or via replication won't matter.