Skip to content

Commit

Permalink
Remove deprecated cluster_formation configuration
Browse files Browse the repository at this point in the history
Since we bumped the minimum supported RabbitMQ version to v3.9.0 in
#1110, we can delete
the deprecated `cluster_formation.randomized_startup_delay_range`
configurations.

See rabbitmq/rabbitmq-server#3075.

Prior to this commit, the RabbitMQ logs contained the following warning:
```
2022-08-15 08:18:03.870480+00:00 [warn] <0.130.0> cluster_formation.randomized_startup_delay_range.min and cluster_formation.randomized_startup_delay_range.max are deprecated
```
  • Loading branch information
ansd committed Aug 15, 2022
1 parent 51ff52b commit 64bc46a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions internal/resource/configmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ cluster_formation.k8s.host = kubernetes.default
cluster_formation.k8s.address_type = hostname
cluster_partition_handling = pause_minority
queue_master_locator = min-masters
disk_free_limit.absolute = 2GB
cluster_formation.randomized_startup_delay_range.min = 0
cluster_formation.randomized_startup_delay_range.max = 60`
disk_free_limit.absolute = 2GB`

defaultTLSConf = `
ssl_options.certfile = /etc/rabbitmq-tls/tls.crt
Expand Down
2 changes: 0 additions & 2 deletions internal/resource/configmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ cluster_formation.k8s.address_type = hostname
cluster_partition_handling = pause_minority
queue_master_locator = min-masters
disk_free_limit.absolute = 2GB
cluster_formation.randomized_startup_delay_range.min = 0
cluster_formation.randomized_startup_delay_range.max = 60
cluster_name = ` + instanceName)
}

Expand Down

0 comments on commit 64bc46a

Please sign in to comment.