Skip to content

Remove vm_memory_high_watermark_paging_ratio #1714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/examples/production-ready/rabbitmq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ spec:
rabbitmq:
additionalConfig: |
cluster_partition_handling = pause_minority
vm_memory_high_watermark_paging_ratio = 0.99
disk_free_limit.relative = 1.0
collect_statistics_interval = 10000
persistence:
Expand Down
4 changes: 1 addition & 3 deletions system_tests/system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ var _ = Describe("Operator", func() {

By("updating the userDefinedConfiguration.conf file when additionalConfig are modified", func() {
Expect(updateRabbitmqCluster(ctx, rmqClusterClient, cluster.Name, cluster.Namespace, func(cluster *rabbitmqv1beta1.RabbitmqCluster) {
cluster.Spec.Rabbitmq.AdditionalConfig = `vm_memory_high_watermark_paging_ratio = 0.5
cluster_partition_handling = ignore
cluster.Spec.Rabbitmq.AdditionalConfig = `cluster_partition_handling = ignore
cluster_keepalive_interval = 10000`
})).To(Succeed())

Expand All @@ -216,7 +215,6 @@ cluster_keepalive_interval = 10000`
// verify that rabbitmq.conf contains provided configurations
cfgMap := getConfigFileFromPod(namespace, cluster, "/etc/rabbitmq/conf.d/90-userDefinedConfiguration.conf")
Expect(cfgMap).To(SatisfyAll(
HaveKeyWithValue("vm_memory_high_watermark_paging_ratio", "0.5"),
HaveKeyWithValue("cluster_keepalive_interval", "10000"),
HaveKeyWithValue("cluster_partition_handling", "ignore"),
))
Expand Down