[MXS-3719] Readwritesplit logs wrong warning when replication lag is not available Created: 2021-08-11  Updated: 2021-08-13  Resolved: 2021-08-13

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: 2.5.14
Fix Version/s: 2.5.15

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


 Description   

The following message is logged if the replication lag is not measurable.

warning: (1) (My-Service) Replication lag of 'server2' is -1 seconds, which is above the configured limit 10s. 'server2' is excluded from query routing.

The correct message to log would be that the reason why the server is removed from routing is not the lag itself but the inability to measure it.


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