Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
4b27d19b
Commit
4b27d19b
authored
2 years ago
by
Zuul
Committed by
Gerrit Code Review
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Set RabbitMQ ha-promote-on-shutdown=always"
parents
b30c7bc8
a87810db
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/rabbitmq/defaults/main.yml
+1
-1
1 addition, 1 deletion
ansible/roles/rabbitmq/defaults/main.yml
releasenotes/notes/rabbitmq-set-ha-promote-on-shutdown-always-e8db9ad15fd1b8fb.yaml
+11
-0
11 additions, 0 deletions
...q-set-ha-promote-on-shutdown-always-e8db9ad15fd1b8fb.yaml
with
12 additions
and
1 deletion
ansible/roles/rabbitmq/defaults/main.yml
+
1
−
1
View file @
4b27d19b
...
@@ -88,7 +88,7 @@ rabbitmq_cluster_partition_handling: "pause_minority"
...
@@ -88,7 +88,7 @@ rabbitmq_cluster_partition_handling: "pause_minority"
# The rabbitmq default for ha queues is "when-synced"
# The rabbitmq default for ha queues is "when-synced"
# More details see:
# More details see:
# https://www.rabbitmq.com/ha.html#promoting-unsynchronised-mirrors
# https://www.rabbitmq.com/ha.html#promoting-unsynchronised-mirrors
rabbitmq_ha_promote_on_shutdown
:
rabbitmq_ha_promote_on_shutdown
:
"
always"
# The number of rabbitmq replicas should follow this advice:
# The number of rabbitmq replicas should follow this advice:
# https://www.rabbitmq.com/ha.html#replication-factor
# https://www.rabbitmq.com/ha.html#replication-factor
# This means, if you have three rabbit nodes, we request two
# This means, if you have three rabbit nodes, we request two
...
...
This diff is collapsed.
Click to expand it.
releasenotes/notes/rabbitmq-set-ha-promote-on-shutdown-always-e8db9ad15fd1b8fb.yaml
0 → 100755
+
11
−
0
View file @
4b27d19b
---
upgrade
:
-
|
The RabbitMQ variable `rabbitmq-ha-promote-on-shutdown` now defaults to
`"always"`. This only has an effect if
`om_enable_rabbitmq_high_availability` is set to `True`. When
`ha-promote-on-shutdown` is set to `always`, queue mirrors are promted on
shutdown even if they aren't fully synced. This means that value
availability over the risk of losing some messages. Note that the contents
of the RabbitMQ definitions.json are now changed, meaning RabbitMQ
containers will be restarted on next deploy/upgrade.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment