Commit Graph

55249 Commits

Author SHA1 Message Date
Arnaud Cogoluègnes 1f89ede396
Remove rabbit_authz_backend:state_can_expire/0
Use expiry_timestamp/1 instead, which returns 'never'
if the credentials do not expire.

Fixes #10382
2024-01-24 09:58:59 +01:00
Michael Klishin fdef585343
Merge pull request #10399 from rabbitmq/dependabot/maven/deps/rabbitmq_stream_management/test/http_SUITE_data/main/com.diffplug.spotless-spotless-maven-plugin-2.43.0
build(deps): bump com.diffplug.spotless:spotless-maven-plugin from 2.42.0 to 2.43.0 in /deps/rabbitmq_stream_management/test/http_SUITE_data
2024-01-23 14:04:48 -05:00
Michael Klishin 73f9e1d62f
Merge pull request #10400 from rabbitmq/dependabot/maven/deps/rabbitmq_amqp1_0/test/system_SUITE_data/java-tests/main/com.diffplug.spotless-spotless-maven-plugin-2.43.0
build(deps): bump com.diffplug.spotless:spotless-maven-plugin from 2.42.0 to 2.43.0 in /deps/rabbitmq_amqp1_0/test/system_SUITE_data/java-tests
2024-01-23 14:04:42 -05:00
Michael Klishin ac87fcd00c
Merge pull request #10401 from rabbitmq/dependabot/github_actions/main/actions/upload-artifact-4.3.0
build(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0
2024-01-23 14:04:35 -05:00
Michael Klishin 118c6b87c9
Merge pull request #10403 from rabbitmq/dependabot/maven/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/main/com.diffplug.spotless-spotless-maven-plugin-2.43.0
build(deps): bump com.diffplug.spotless:spotless-maven-plugin from 2.42.0 to 2.43.0 in /deps/rabbitmq_stream/test/rabbit_stream_SUITE_data
2024-01-23 14:04:29 -05:00
Michael Klishin eae9157352
Merge pull request #10404 from rabbitmq/dependabot/maven/deps/rabbitmq_mqtt/test/java_SUITE_data/main/com.diffplug.spotless-spotless-maven-plugin-2.43.0
build(deps): bump com.diffplug.spotless:spotless-maven-plugin from 2.42.0 to 2.43.0 in /deps/rabbitmq_mqtt/test/java_SUITE_data
2024-01-23 14:04:22 -05:00
dependabot[bot] 4b5ef6474f
build(deps): bump com.diffplug.spotless:spotless-maven-plugin
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.42.0 to 2.43.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/lib/2.42.0...lib/2.43.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-23 18:56:15 +00:00
dependabot[bot] 61ac44d9ab
build(deps): bump com.diffplug.spotless:spotless-maven-plugin
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.42.0 to 2.43.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/lib/2.42.0...lib/2.43.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-23 18:50:10 +00:00
dependabot[bot] be4b00e8e8
build(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.2.0...v4.3.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-23 18:29:12 +00:00
dependabot[bot] b04ee61db5
build(deps): bump com.diffplug.spotless:spotless-maven-plugin
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.42.0 to 2.43.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/lib/2.42.0...lib/2.43.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-23 18:12:39 +00:00
dependabot[bot] 3a1dfbe898
build(deps): bump com.diffplug.spotless:spotless-maven-plugin
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.42.0 to 2.43.0.
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/lib/2.42.0...lib/2.43.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-23 18:06:35 +00:00
Michael Klishin d83ae8c9c7
More missed (c) header updates 2024-01-23 11:26:29 -05:00
Michael Klishin 1a2193d8a5
More missed (c) header updates 2024-01-23 11:24:15 -05:00
Arnaud Cogoluègnes 213281e812
Fix dependency in stream unit test 2024-01-23 10:51:44 +01:00
Michael Klishin 7b151a7651 More missed (c) header updates 2024-01-22 23:44:47 -05:00
Michael Klishin d9a8c2d964
Merge pull request #10393 from ariel-anieli/pr-os-name
Removed extra clause in platform.os_name/1
2024-01-22 18:34:29 -05:00
Ariel Otilibili 9868c919c8 Removed extra clause in platform.os_name/1
* platform.os_name/1 parses output of :rabbit.status/1
* :rabbit.status/1 get its `os` key from :os.type/0
* :linux already matched by `platform.os_name({:unix, name})`.
2024-01-22 22:28:06 +01:00
Michael Klishin aa53125f62
Merge pull request #10389 from rabbitmq/dependabot/maven/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot_kotlin/main/org.springframework.boot-spring-boot-starter-parent-3.2.2
build(deps): bump org.springframework.boot:spring-boot-starter-parent from 3.2.1 to 3.2.2 in /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot_kotlin
2024-01-22 16:23:59 -05:00
Michael Klishin 9ee89c8293
Merge pull request #10390 from rabbitmq/dependabot/maven/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot/main/org.springframework.boot-spring-boot-starter-parent-3.2.2
build(deps): bump org.springframework.boot:spring-boot-starter-parent from 3.2.1 to 3.2.2 in /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot
2024-01-22 16:23:52 -05:00
Michael Klishin 3e3a9c3fb1
Merge pull request #10384 from rabbitmq/read-permission-for-store-offset
Use read permission for store_offset
2024-01-22 16:23:11 -05:00
Michael Klishin c1d37e3e02
Merge pull request #10364 from rabbitmq/flaky-mc-flake-flake
Reduce flakiness of certain Common Test suites
2024-01-22 16:22:24 -05:00
dependabot[bot] 23bb13a68b
build(deps): bump org.springframework.boot:spring-boot-starter-parent
Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 18:31:41 +00:00
dependabot[bot] 0d4fce4685
build(deps): bump org.springframework.boot:spring-boot-starter-parent
Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 18:21:58 +00:00
Karl Nilsson d15aadff5f quorum_queues_SUITE: remove assertion that isn't guaranteed
The leader_locator_balanced_random_maintenance test is effectively
using a plain random approach so we cannot assert that there
definitely would be leaders on both potential nodes only that there
aren't any leaders on the node that is in maintenance mode.
2024-01-22 17:18:05 +00:00
Karl Nilsson 61df65e256 Test leader locator local with unique queue names.
Stream deletes aren't necessarily fully complete by the time the
queue.delete command returns as the stream coordinator will do this
work async. By using unique queue names we avoid the need to do
additional polling / waiting for teh delete operation to be
fully completed.
2024-01-22 16:36:00 +00:00
Arnaud Cogoluègnes ed3aecefd0
Use read permission for store_offset
Instead of write permission. Storing an offset in a stream
is not like adding messages to the stream, so we consider
the write permission to be too hard for this case.
Read permission, like for consuming, is more appropriate.

The implementation checks there is a subscription for
the target stream and falls back to an actual read
permission call if there is not (e.g. when the subscription
state goes away before store_offset is sent when closing a consumer).

Fixes #10383
2024-01-22 17:25:40 +01:00
Karl Nilsson 60f9f3ce56 Wait command: loop when file read returns the empty binary.
As writing to a file isn't atomic between opening and writing this
can happen and would unnecessarily return the :garbage_in_pid_file
error.
2024-01-22 15:51:24 +00:00
Karl Nilsson 3d74945abf Handle case where queue info online returns [] 2024-01-22 15:27:35 +00:00
Karl Nilsson 5266902caf garbage 2024-01-22 15:27:35 +00:00
Karl Nilsson 0a814e945a rabbit_stream_queue:recover try a flush for info 2024-01-22 15:27:35 +00:00
Karl Nilsson c10b4dc0f0 protocol_interop_SUITE - try a durable queue for amqp part 2024-01-22 15:27:30 +00:00
Michael Klishin bae33675e9
Merge pull request #10385 from yoyo890121/hong/http-auth-net8
HTTP auth example dotnetcore: Update to .NET 8
2024-01-22 09:45:53 -05:00
Arnaud Cogoluègnes 3bd0fdc316
Merge pull request #10299 from rabbitmq/token-expiration-in-stream-connections
Take expiry timestamp into account in stream connections
2024-01-22 10:23:20 +01:00
yoyo890121 4e52b81b34 Update README.md 2024-01-22 15:52:56 +08:00
yoyo890121 271790000d Update to .NET 8 2024-01-22 15:39:10 +08:00
Michael Klishin 80615755be
Bump (c) year 2024-01-20 14:52:15 -05:00
Michael Klishin fb775afcc8
More (c) source header updates #9969 2024-01-19 19:53:28 -05:00
Michael Klishin b68f2583bc
Merge pull request #10378 from rabbitmq/dependabot/github_actions/main/actions/upload-artifact-4.2.0
build(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0
2024-01-19 17:04:45 -05:00
dependabot[bot] 42143f9e41
build(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.1.0...v4.2.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-19 18:38:29 +00:00
Michael Klishin 7f8f2290f2
Merge pull request #10369 from rabbitmq/rabbitmq-server-10367
Make 'rabbitmqctl rename_cluster_node' and 'rabbitmqctl update_cluster_nodes ' no-ops
2024-01-19 12:52:59 -05:00
Michael Klishin 725ddaa43d
AWS peer discovery tests: log at debug level 2024-01-19 12:33:29 -05:00
Diana Parra Corbacho 2171b5abe5 Mix format 2024-01-19 11:22:16 -05:00
Diana Parra Corbacho c9c4574dd0 Update rabbitmqctl tests for rename/update cluster nodes 2024-01-19 11:22:16 -05:00
Diana Parra Corbacho 1d9a3afebf Adjust number of shards for clustering_management_SUITE 2024-01-19 11:22:16 -05:00
Michael Klishin 06ca99c3ab Fix CLI tools dialyzer 2024-01-19 11:22:16 -05:00
Michael Klishin 0f404c7347 Adjust the number of Bazel shards for per_vhost_connection_limit_SUITE 2024-01-19 11:22:16 -05:00
Michael Klishin b2180a558b Make rabbitmqctl rename_cluster_node's friend, update_cluster_nodes, a no-op 2024-01-19 11:22:16 -05:00
Michael Klishin 2ac119cc8e Remove rabbitmqctl(8) entry of (now a no-op) rename_cluster_node and friends 2024-01-19 11:22:16 -05:00
Michael Klishin 1556fec127 Make 'rabbitmqctl rename_cluster_node' a no-op
This makes a command that renames cluster members
a no-op. This command is really complex under
the hood and is fundamentally incompatible
with a few key Raft-based features:

 * Khepri
 * Quorum queues
 * Streams

Because Khepri first ships in RabbitMQ 3.13,
now is the time to effectively eliminate this
command.

It will be permanently removed together with
other deprecated CLI commands in 4.0.

Per discussion with the team.

Closes #10367.
2024-01-19 11:22:16 -05:00
Michael Klishin 9b884bb34d
Merge pull request #10375 from rabbitmq/catch-ets-exception-on-startup
Catch ETS exception when system is still starting
2024-01-19 11:21:59 -05:00