[MCOL-5305] Query initiated at slave MDB are stuck Created: 2022-11-11  Updated: 2022-12-12  Resolved: 2022-11-18

Status: Closed
Project: MariaDB ColumnStore
Component/s: ExeMgr
Affects Version/s: 22.08.3
Fix Version/s: 22.08.4

Type: Bug Priority: Major
Reporter: Roman Assignee: Roman
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MCOL-5279 MCS Cluster: After software update fr... Closed
Sprint: 2022-22
Assigned for Review: David Hall David Hall (Inactive)

 Description   

The solution for MCOL-5279 was not good enough to resolve the MCOL-5279 for the queries started on MDB slaves in a cluster.
The scenario mentioned in MCOL-5279 doesn't work if run at slave MDB.
The MCOL-5279 solution made an assumption that the primary will have a fixed index always that is no the case when queries run at MDB slave nodes in a cluster.
More generic approach makes an assumption there will be only one local connection b/w ExeMgr and PrimProc. DEC methods that use DEC::writeToClient searches for this local connection index and sends the message into this local connection in the last turn. This is possible b/c DEC:: methods synchronously send messages to cluster nodes.


Generated at Thu Feb 08 02:56:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.