Commit Graph

55323 Commits

Author SHA1 Message Date
Michael Klishin 4c017a55d5
Merge pull request #10358 from rabbitmq/dependabot/github_actions/main/actions/cache-4.0.0
build(deps): bump actions/cache from 3.3.3 to 4.0.0
2024-01-17 13:17:04 -05:00
dependabot[bot] 5d1664504f
build(deps): bump actions/cache from 3.3.3 to 4.0.0
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.3...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 18:11:05 +00:00
Michael Klishin d021af2162
Merge pull request #10352 from rabbitmq/logger-exchange-mc-fix
Logger exchange should take message_containers feature flag into account
2024-01-17 12:08:56 -05:00
Jean-Sébastien Pédron a7a7513c29
Merge pull request #10357 from rabbitmq/add-rabbitmq_launch-to-rabbitmq-components.mk
rabbitmq-components.mk: Declare `dep_rabbitmq_prelaunch`
2024-01-17 16:49:58 +01:00
Karl Nilsson 87664e9fcb Remove clustering test that assert on ram nodes.
Ram nodes are a deprecated feature and the actual assertion is
quite a complicated once that isn't easy to reason about as it
asserts on the cluster view of nodes that that have their
rabbit app stopped.
2024-01-17 15:32:59 +00:00
Jean-Sébastien Pédron 369bbfbf92
rabbitmq-components.mk: Declare `dep_rabbitmq_prelaunch`
[Why]
This might be needed after the move of `rabbitmq_prelaunch` from
`deps/rabbit/apps` to `deps`.
2024-01-17 16:26:47 +01:00
Karl Nilsson 8aa217613c Do not attempt to contact disconnected nodes in rabbit_nodes:list_running/1
As this will force erlang to attempt to set up a distribution connection
to the down node. This can take some time, especially in cloud environments.
2024-01-17 11:57:39 +00:00
Karl Nilsson 8cbbf3fc98 Logger exchange should take message_containers feature flag into account
To avoid creating mc wrapped messages before the feature flag has
been enabled.
2024-01-17 10:55:23 +00:00
Michael Klishin ac9c9436c9
Merge pull request #10348 from rabbitmq/mk-information-units-kubernetes-style
Handle more information units (Mi, Gi, Ti), add rabbitmq.conf validation for IU values
2024-01-16 09:26:09 -05:00
Michael Klishin 79d52b9b5d CLI: mix format 2024-01-16 00:13:41 -05:00
Michael Klishin 48ce1b5ec7 Improve supported information units (Mi, Gi, Ti)
This revisits the information system conversion,
that is, support for suffixes like GiB, GB.

When configuration values like disk_free_limit.absolute,
vm_memory_high_watermark.absolute are set, the value
can contain an information unit (IU) suffix.

We now support several new suffixes and the meaning
a few more changes.

First, the changes:

 * k, K now mean kilobytes and not kibibytes
 * m, M now mean megabytes and not mebibytes
 * g, G now means gigabytes and not gibibytes

This is to match the system used by Kubernetes.
There is no consensus in the industry about how
"k", "m", "g", and similar single letter suffixes
should be treated. Previously it was a power of 2,
now a power of 10 to align with a very popular OSS
project that explicitly documents what suffixes it supports.

Now, the additions:

Finally, the node will now validate these suffixes
at boot time, so an unsupported value will cause
the node to stop with a rabbitmq.conf validation
error.

The message logged will look like this:

````
2024-01-15 22:11:17.829272-05:00 [error] <0.164.0> disk_free_limit.absolute invalid, supported formats: 500MB, 500MiB, 10GB, 10GiB, 2TB, 2TiB, 10000000000
2024-01-15 22:11:17.829376-05:00 [error] <0.164.0> Error preparing configuration in phase validation:
2024-01-15 22:11:17.829387-05:00 [error] <0.164.0>   - disk_free_limit.absolute invalid, supported formats: 500MB, 500MiB, 10GB, 10GiB, 2TB, 2TiB, 10000000000
````

Closes #10310
2024-01-15 22:11:57 -05:00
Michael Klishin a3c8880697
Merge pull request #10340 from rabbitmq/dependabot/maven/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/main/com.diffplug.spotless-spotless-maven-plugin-2.42.0
build(deps): bump com.diffplug.spotless:spotless-maven-plugin from 2.41.1 to 2.42.0 in /deps/rabbitmq_stream/test/rabbit_stream_SUITE_data
2024-01-15 14:03:44 -05:00
Michael Klishin cb26e613b0
Merge pull request #10341 from rabbitmq/dependabot/maven/deps/rabbitmq_amqp1_0/test/system_SUITE_data/java-tests/main/com.diffplug.spotless-spotless-maven-plugin-2.42.0
build(deps): bump com.diffplug.spotless:spotless-maven-plugin from 2.41.1 to 2.42.0 in /deps/rabbitmq_amqp1_0/test/system_SUITE_data/java-tests
2024-01-15 14:03:36 -05:00
Michael Klishin cea27f3f34
Merge pull request #10342 from rabbitmq/dependabot/maven/deps/rabbitmq_mqtt/test/java_SUITE_data/main/com.diffplug.spotless-spotless-maven-plugin-2.42.0
build(deps): bump com.diffplug.spotless:spotless-maven-plugin from 2.41.1 to 2.42.0 in /deps/rabbitmq_mqtt/test/java_SUITE_data
2024-01-15 14:03:26 -05:00
Michael Klishin f42cbda2fb
Merge pull request #10343 from rabbitmq/dependabot/maven/deps/rabbitmq_stream_management/test/http_SUITE_data/main/com.diffplug.spotless-spotless-maven-plugin-2.42.0
build(deps): bump com.diffplug.spotless:spotless-maven-plugin from 2.41.1 to 2.42.0 in /deps/rabbitmq_stream_management/test/http_SUITE_data
2024-01-15 14:03:14 -05:00
dependabot[bot] 3d8284ee34
build(deps): bump com.diffplug.spotless:spotless-maven-plugin
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.41.1 to 2.42.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.41.1...lib/2.42.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 18:55:05 +00:00
dependabot[bot] e84d2d9cf6
build(deps): bump com.diffplug.spotless:spotless-maven-plugin
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.41.1 to 2.42.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.41.1...lib/2.42.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 18:17:40 +00:00
dependabot[bot] 4af14d4acb
build(deps): bump com.diffplug.spotless:spotless-maven-plugin
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.41.1 to 2.42.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.41.1...lib/2.42.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 18:14:59 +00:00
dependabot[bot] 2a94ea06f4
build(deps): bump com.diffplug.spotless:spotless-maven-plugin
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.41.1 to 2.42.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.41.1...lib/2.42.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 18:05:48 +00:00
Michael Klishin 838cb93142
Merge pull request #10337 from rabbitmq/loic-revert-cqv2-default
Revert "Default to classic queues v2"
2024-01-15 08:03:05 -05:00
Michael Klishin e57826fad9 CQv2 upgrade recommendations for 3.13 2024-01-15 07:14:19 -05:00
Loïc Hoguin a0c8dab057
Update expected CQ version in tests 2024-01-15 12:08:08 +01:00
Michael Klishin bc27870294
Merge pull request #10336 from rabbitmq/remove-ff-warning-asap
Remove FF warning as soon as all features are enabled
2024-01-15 05:26:02 -05:00
Loïc Hoguin e9a8949b6f
Revert "Default to classic queues v2"
This reverts commit a404b49d76.
2024-01-15 10:20:12 +01:00
Diana Parra Corbacho 5a3584beea Remove FF warning as soon as all features are enabled
The warning in the header needs a full refresh, just updating
the page content will not clear the warning.
2024-01-15 08:41:36 +01:00
Michael Klishin 7b1e2c0f8e
Merge pull request #10333 from rabbitmq/dependabot/github_actions/main/actions/upload-artifact-4.1.0
build(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0
2024-01-12 15:52:33 -05:00
dependabot[bot] 26e4eb68fa
build(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 18:02:19 +00:00
Michael Klishin f23e2bdd74
Merge pull request #10323 from rabbitmq/dependabot/github_actions/main/erlef/setup-beam-1.17
build(deps): bump erlef/setup-beam from 1.16 to 1.17
2024-01-11 13:11:44 -05:00
Michael Klishin 1e692b720a
Merge pull request #10322 from rabbitmq/dependabot/github_actions/main/actions/cache-3.3.3
build(deps): bump actions/cache from 3.3.2 to 3.3.3
2024-01-11 13:11:40 -05:00
dependabot[bot] 80b0f9c0b6
build(deps): bump erlef/setup-beam from 1.16 to 1.17
Bumps [erlef/setup-beam](https://github.com/erlef/setup-beam) from 1.16 to 1.17.
- [Release notes](https://github.com/erlef/setup-beam/releases)
- [Commits](https://github.com/erlef/setup-beam/compare/v1.16...v1.17)

---
updated-dependencies:
- dependency-name: erlef/setup-beam
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 18:09:20 +00:00
dependabot[bot] dd3fb30078
build(deps): bump actions/cache from 3.3.2 to 3.3.3
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 18:09:16 +00:00
Ayanda Dube 4be40ca6e2 add more logging on vhost deletion procedure steps 2024-01-11 18:29:04 +01:00
Ayanda Dube b9b6b3da42 avoid repeat vhost existance checks when adding vhosts 2024-01-11 18:29:04 +01:00
Michael Klishin 9ff387e473
Merge pull request #10313 from rabbitmq/dependabot/maven/deps/rabbitmq_stream_management/test/http_SUITE_data/main/org.apache.maven.plugins-maven-surefire-plugin-3.2.5
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3 to 3.2.5 in /deps/rabbitmq_stream_management/test/http_SUITE_data
2024-01-10 16:22:35 -05:00
Michael Klishin 0d2ca1df8b
Merge pull request #10303 from ariel-anieli/issue-2634-win-ascii
#2634 - if ASCII disabled, remove escape codes
2024-01-10 15:54:33 -05:00
Michael Klishin 22dcfa60ee
Merge pull request #10305 from cloudamqp/sup2
Fix undef internal call in supervisor2
2024-01-10 15:36:46 -05:00
Michael Klishin a35197adbb
Merge pull request #10311 from rabbitmq/dependabot/maven/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/main/org.apache.maven.plugins-maven-surefire-plugin-3.2.5
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3 to 3.2.5 in /deps/rabbitmq_stream/test/rabbit_stream_SUITE_data
2024-01-10 14:29:24 -05:00
Michael Klishin a92c30562d
Merge pull request #10312 from rabbitmq/dependabot/maven/deps/rabbitmq_mqtt/test/java_SUITE_data/main/org.apache.maven.plugins-maven-surefire-plugin-3.2.5
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3 to 3.2.5 in /deps/rabbitmq_mqtt/test/java_SUITE_data
2024-01-10 14:29:12 -05:00
dependabot[bot] 572246ac41
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.3 to 3.2.5.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.3...surefire-3.2.5)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 19:00:23 +00:00
dependabot[bot] 12b6225387
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.3 to 3.2.5.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.3...surefire-3.2.5)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 18:59:58 +00:00
dependabot[bot] bf79c54bce
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.3 to 3.2.5.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.3...surefire-3.2.5)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 18:58:00 +00:00
Michael Klishin cf5322365d
Merge pull request #10309 from rabbitmq/dependabot/maven/deps/rabbitmq_amqp1_0/test/system_SUITE_data/java-tests/main/org.apache.maven.plugins-maven-surefire-plugin-3.2.5
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3 to 3.2.5 in /deps/rabbitmq_amqp1_0/test/system_SUITE_data/java-tests
2024-01-10 13:56:29 -05:00
dependabot[bot] ddc422fb34
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.3 to 3.2.5.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.3...surefire-3.2.5)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 18:43:28 +00:00
Péter Gömöri b6f782fd0d Fix undef internal call in supervisor2
Must be a leftover from the refactoring in commit 0a87aea

This should prevent the below crash that was seen with an exchange
federation link

```
{undef,
    [{supervisor2,try_again_restart,
         [<0.105395.0>,
          {upstream,
              [{encrypted,
                   <<"...">>}],
              <some mirrored supervisor data>},
          {upstream,
              [{encrypted,
                   <<"...">>}],
              <some mirrored supervisor data>}],
         []}]}
```
2024-01-10 13:22:16 +01:00
Ariel Otilibili 09b4be92f6 Removed ASCII escape codes if not enabled; fixes #2634
https://hexdocs.pm/elixir/IO.ANSI.html#format/2
2024-01-10 01:04:12 +01:00
Michael Klishin c01737d886
Merge pull request #10229 from ariel-anieli/issue-8557-ascii-escapes-in-json-cli-output
[#8557/CLI] Removed ANSI escape codes from JSON output
2024-01-09 15:28:14 -05:00
Ariel Otilibili a9e488dbed
Fix for #8557, removed ANSI codes in JSON output
Add missing newline chars
2024-01-09 09:15:14 -08:00
Michael Klishin f2fa29353e
Merge pull request #10297 from rabbitmq/adopt-otp-26.2
Adopt OTP 26.2.1
2024-01-09 07:27:40 -05:00
Michal Kuratczyk 8d2657ef2f Adopt OTP 26.2.1 2024-01-09 10:14:08 +01:00
Michael Klishin 3cd832b638
3.12.12 release notes: a typo 2024-01-08 10:08:45 -05:00