[MDEV-21015] Documentation for last_gtid Created: 2019-11-08  Updated: 2019-11-08  Resolved: 2019-11-08

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: David Lachapelle Assignee: Ian Gilfillan
Resolution: Not a Bug Votes: 0
Labels: None

Attachments: Text File mariadb_last_gtid_test.txt    

 Description   

https://mariadb.com/kb/en/library/gtid/#last_gtid

last_gtid is listed as having "Scope: Session", however it is possible to set this variable in the Global Scope.

Documentation should reflect that the variable can be set in the Global scope as well as at the Session level.



 Comments   
Comment by Ian Gilfillan [ 2019-11-08 ]

As far as I can see, you are setting session_track_system_variables, which is a variable for determining which session variables to track, and which can be set globally. You are not setting last_gtid globally, so this seems correct as documented.

Comment by David Lachapelle [ 2019-11-08 ]

Ah okay - that actually makes sense.
I was told by Amazon Support that they can't allow setting last_gtid in the session_track_system_variables because it is not valid in the Global scope. I'm fairly confident they're wrong and you can globally set session_track_system_variables to include last_gtid globally, but not sure where in the documentation that is outlined.

Generated at Thu Feb 08 09:03:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.