Skip to content

Commit 0727310

Browse files
drivebyercndoit18
authored andcommitted
Avoid set read_only conflict when graceful takeover
1 parent e3cc52a commit 0727310

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1414
### Changed
1515
### Removed
1616
### Fixed
17+
* Avoid set read_only conflict when graceful takeover
1718

1819
## [0.6.3] - 2023-05-22
1920

deploy/charts/mysql-operator/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,9 @@ orchestrator:
255255
- "/usr/local/bin/orc-helper event -w '{failureClusterAlias}' 'OrcFailureDetection' 'Failure: {failureType}, failed host: {failedHost}, lost replcas: {lostReplicas}' || true"
256256
- "/usr/local/bin/orc-helper failover-in-progress '{failureClusterAlias}' '{failureDescription}' || true"
257257

258-
# PreGracefulTakeoverProcesses:
258+
PreGracefulTakeoverProcesses:
259+
- "/usr/local/bin/orc-helper failover-in-progress '{failureClusterAlias}' '{failureDescription}' || true"
260+
259261
PreFailoverProcesses:
260262
# as backup in case the first request fails
261263
- "/usr/local/bin/orc-helper failover-in-progress '{failureClusterAlias}' '{failureDescription}' || true"

0 commit comments

Comments
 (0)