Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

UseSuperReadOnly: applying super-read-only #390

Merged
merged 6 commits into from
Jan 31, 2018
Merged

Conversation

shlomi-noach
Copy link
Collaborator

Fixes #376

This PR supports super_read_only as follows:

  • A new configuration variable is introduced, UseSuperReadOnly, defaults false.
  • When true, orchestrator will set global super_read_only=? in addition to setting read_only.
  • Since super_read_only only exists in specific MySQL flavors and versions, orchestrator will not bail out with error when unable to set global super_read_only=?. Instead, it will only log an error.
  • In the future, orchestrator may also auto-detect whether a server supports super_read_only.

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=concertmaster January 31, 2018 07:03 Inactive
@shlomi-noach shlomi-noach merged commit da15154 into master Jan 31, 2018
@shlomi-noach shlomi-noach deleted the super-read-only branch January 31, 2018 07:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants