Skip to content

Conversation

@berni2288
Copy link

What this PR does / why we need it:

  • Move trigger-failover-if-master.sh from redis to sentinel container
    • This fixes failover not working because the sentinel container is already shutting down
    • This also fixes failover not working because the Sentinel password isn't injected
  • Fix preStop scripts not logging to stdout
  • Create redis-prestop.sh to wait for master change
  • Add disconnecting all Sentinel clients before shutdown to avoid client errors

Which issue this PR fixes

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • Chart Version bumped
  • Variables are documented in the README.md
  • Title of the PR starts with chart name (e.g. [stable/mychartname])

* Move trigger-failover-if-master.sh from redis to sentinel container
** This fixes failover not working because the sentinel container is already shutting down
** This also fixes failover not working because the Sentinel password isn't injected
* Fix preStop scripts not logging to stdout
* Create redis-prestop.sh to wait for master change
* Add disconnecting all Sentinel clients before shutdown to avoid client errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant