[MXS-4555] Dynamic filter capabilities do not work Created: 2023-03-10  Updated: 2023-03-13  Resolved: 2023-03-13

Status: Closed
Project: MariaDB MaxScale
Component/s: Filter
Affects Version/s: 6.4.5, 22.08.4, 23.02.0
Fix Version/s: 6.4.6, 22.08.5, 23.02.1

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

Issue Links:
Relates
relates to MXS-4549 Replay queries with partially returne... Closed

 Description   

The dynamic filter capability calculation does not work. The capabilities are read before filter is configured.

The nullfilter is the only one that actually defines a dynamic set of capabilites so the practical effects are quite minimal. However, as MXS-4549 demonstrates, there is a real-world need which the nullfilter could be used to fix: by using a nullfilter with capabilities=RCAP_TYPE_RESULTSET_OUTPUT in a readwritesplit service, a deadlocked stored procedure call would end up being successfully replayed. This happens because the filter requests that the complete result is collected before being delivered to the filter. This has the side-effect of preventing partial results from being delivered to the client.


Generated at Thu Feb 08 04:29:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.