Commit Graph

49431 Commits

Author SHA1 Message Date
Philip Kuryloski e35bcfdc8e Improve the automated commits in update-rbe-images workflow 2021-09-23 10:44:51 +02:00
Philip Kuryloski 44fb7dbf9b Handle bumping the RBE image with separate branches per erlang 2021-09-23 10:19:11 +02:00
Philip Kuryloski d53b17db16 Fixup update-rbe-images.yaml workflow
Using the same branch across a matrix of two versions causes a
conflict where the branch is immediately closed by
peter-evans/create-pull-request@v3. This now updates both image
references in a single pass.
2021-09-23 10:11:48 +02:00
Philip Kuryloski 7fc60bae70
Merge pull request #3479 from rabbitmq/use-ct-helpers-for-prometheus-port
Use rabbitmq_ct_helpers to allocate prometheus port
2021-09-23 08:36:31 +02:00
Philip Kuryloski 9b53e9fe43 Use a repo scoped token for auto-generated PRs
This allows the standard checks to run on the generated PRs. They are
skipped (to prevent infinite loops) when the default token is used.
2021-09-22 21:47:26 +02:00
Philip Kuryloski 7dc0c29227 Use only 3 nodes for feature_flags_with_unpriveleged_user_SUITE
The test does not appear reliable when it runs in Github actions. This
is currently the only test that does so. Other tests run of BuildBuddy workers.
2021-09-22 17:22:49 +02:00
Philip Kuryloski 772cc915b0 Third attempt at updating workflow triggering
This commit is only half of the solution - the workflows themselves
need updating. See
https://github.com/peter-evans/create-pull-request/issues/48
2021-09-22 17:02:43 +02:00
Philip Kuryloski 8a87ab40c0 Second attempt at adjusting workflow triggering for new workflow 2021-09-22 16:26:46 +02:00
Philip Kuryloski 9e29413434 Ensure the mixed version tests run when updating rabbitmq-ct-helpers 2021-09-22 16:00:59 +02:00
Philip Kuryloski 344572cdd5 Fixup rabbitmq-ct-helpers auto-bump workflow
Add missing quotes when updating commit sha
2021-09-22 15:49:59 +02:00
Philip Kuryloski 5d24529069 Fix workflow syntax 2021-09-22 15:38:21 +02:00
Alexey Lebedeff 5501d07b8b Use rabbitmq_ct_helpers to allocate prometheus port
This test always used standard 15692 before, which were causing
conflicts with e.g. local `make run-broker`.
2021-09-22 15:23:35 +02:00
Philip Kuryloski 5f6dc235b5 Add a workflow to automatically bump rabbitmq-ct-helpers
and rabbitmq-ct-client-helpers so that they don't fall out of date
2021-09-22 15:08:31 +02:00
Philip Kuryloski cb8a397d52
Merge pull request #3480 from rabbitmq/use-pinned-rabbitmq-ct-helpers
Use a pinned version of rabbitmq-ct-[client-]helpers
2021-09-22 14:28:11 +02:00
Philip Kuryloski 94809aed64 Use a pinned version of rabbitmq-ct-[client-]helpers
When these changes, it can break builds asynchronously and present
difficult to diagnose errors
2021-09-22 13:20:33 +02:00
Alexey Lebedeff efce6b9f0d Allocate tcp port for prometheus plugin 2021-09-22 09:13:33 +02:00
Michael Klishin 879e49ca7a
Merge branch 'shovel-obfuscatepassword' 2021-09-21 20:39:48 +03:00
Michael Klishin 1cabd3ccd4
Naming 2021-09-21 20:39:35 +03:00
Michael Klishin 59c4327f0b
Merge branch 'master' into shovel-obfuscatepassword 2021-09-21 20:17:46 +03:00
Michael Klishin 1c09040533
Use rabbit_data_coercion functions here 2021-09-21 20:01:19 +03:00
Michael Klishin 0d54e71e8e
Merge pull request #3474 from rabbitmq/use-latest-release-in-mixed-version-testing
Use 3.8.22 in 3.8/3.9 mixed version testing
2021-09-21 20:00:14 +03:00
Thuan Duong Ba 7aedc45d1f
convert property map to proplists and vice versa for uri obfucation in shovel config 2021-09-21 19:39:22 +03:00
Thuan Duong Ba 6dbdc991c3
Obfuscate credentials in shovel worker states to avoid plaintext passwords being logged on crashes 2021-09-21 19:39:22 +03:00
Philip Kuryloski d2b032ff60 Use 3.8.22 in 3.8/3.9 mixed version testing 2021-09-21 16:36:32 +00:00
Philip Kuryloski 9fd071bcc5 Allow manual trigger of mixed version testing on arbitrary branches
For efficiency, these do not run by default on PRs, but it can be useful
2021-09-21 18:34:08 +02:00
Michael Klishin ae4d84f403
(cherry picked from commit 7ce2a0dac8)
Conflicts:
	release-notes/3.9.6.md
2021-09-21 17:07:17 +03:00
Michael Klishin 5fb118e8ef
Merge pull request #3409 from rabbitmq/lh-increase-queue-shutdown-timeout
Increase classic queue shutdown timeout
2021-09-21 16:46:21 +03:00
Michael Klishin 92a6d0fbad
Merge pull request #3469 from rabbitmq/lh-observer_cli-1.7.1
Upgrade to Observer CLI 1.7.1
2021-09-21 16:22:56 +03:00
Arnaud Cogoluègnes 214944f764
Merge pull request #3470 from rabbitmq/stream-coord-cleanup-tasks
Stream coordinator: monitor task processes
2021-09-21 14:47:04 +02:00
Karl Nilsson be380930ec Stream coordinator: monitor task processes
So that they are cleaned up from the stream coordinator aux state
when they finish instead of growing indefinitely.
2021-09-21 13:09:46 +01:00
Loïc Hoguin 43d40231b9
Upgrade to Observer CLI 1.7.1
Previous version was not working on Windows due to a crash.
2021-09-21 13:49:58 +02:00
Philip Kuryloski 6e6279eb2b Reduce a test timeout
The original value of 15 minutes was inherited from a larger suite. 5
should be sufficient, as a passing run is typically around 2 minutes.
2021-09-21 10:16:38 +02:00
Michael Klishin ddbd56b1d9
Merge pull request #3462 from rabbitmq/mk-rabbit-nodes-all
Introduce rabbit_nodes:all/0
2021-09-20 23:08:03 +03:00
Michael Klishin 0f6a9dac27
Introduce rabbit_nodes:all/0 2021-09-20 22:24:25 +03:00
Alexey Lebedeff e4bda83b8e
Merge pull request #3421 from rabbitmq/alebedeff/opp-92
Make prometheus plugin output customizable
2021-09-20 17:53:47 +02:00
Arnaud Cogoluègnes 9ea1a823cc
Merge pull request #3448 from rabbitmq/qq-consumer-cancellation-fixes
Quorum Queue consumer cancellation fixes
2021-09-20 17:29:26 +02:00
Alexey Lebedeff 4bb2262140 Allow selective querying for prometheus plugin 2021-09-20 14:59:17 +02:00
Karl Nilsson ee6ef35873 Emit release cursor for more commands
It should be rare that repeated use of these commands would grow the
Raft log excessively but just incase we evaluate the release cursors
here anyway so that if the queue is empty we may trigger a snapshot
anyway.
2021-09-20 12:19:22 +01:00
Michael Klishin 80c00aed04
Merge pull request #3454 from rabbitmq/mk-node-cluster-membership-internal-events
Emit a node.added event when a new node joins the cluster
2021-09-19 20:23:02 +03:00
Michael Klishin e780c72828
Merge pull request #3451 from rabbitmq/dependabot/github_actions/lewagon/wait-on-check-action-1.1.1
Bump lewagon/wait-on-check-action from 1.0.0 to 1.1.1
2021-09-19 19:05:19 +03:00
Michael Klishin c8781e5da7
Emit a node.added event when a new node joins the cluster 2021-09-19 18:59:26 +03:00
dependabot[bot] 9e6584c8dd
Bump lewagon/wait-on-check-action from 1.0.0 to 1.1.1
Bumps [lewagon/wait-on-check-action](https://github.com/lewagon/wait-on-check-action) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/lewagon/wait-on-check-action/releases)
- [Commits](https://github.com/lewagon/wait-on-check-action/compare/1.0.0...v1.1.1)

---
updated-dependencies:
- dependency-name: lewagon/wait-on-check-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 18:08:03 +00:00
Karl Nilsson eaa216da82 QQ: emit release cursors after consumer cancel
If this is not done apps that consume/cancel from empty queues in a loop
will grow the raft log in an unbounded manner. This could also be the
case for the garbage_collect command.
2021-09-17 17:09:30 +01:00
Karl Nilsson 5779059bd5 QQ: fix memory leak when cancelling consumer
If the queue is empty when a consumer is cancelled it would leave the
consumer id inside the service queue. If an application subscribes/unsubscibes
in a loop from an empty queue this would cause the service queue to never be
cleared up.

NB: whenever we make a change to how the quorum queue state machien is
calculated we need to consider how this effects determinism as during an
upgrade different members may calculate a different service queue state.
In this case it should be ok as they will eventually converge on the same
state once all "dead" consumer ids have been removed from the queue.

In any case it should not affect how messages are assigned to consumers.
2021-09-17 14:53:33 +01:00
Philip Kuryloski 0b545bf099
Merge pull request #3442 from rabbitmq/deterministic-flag-make
Use the +deterministic compiler flag when building with Make
2021-09-17 13:59:31 +02:00
Philip Kuryloski bc05489ab9
Merge pull request #3443 from rabbitmq/split-feature-flags-suite-for-bazel
Split the feature_flags_SUITE into two parts for CI/Bazel
2021-09-17 11:20:49 +02:00
Philip Kuryloski eea99e1cd5 Split the feature_flags_SUITE into two parts for CI/Bazel
Two testcases in the original suite fail if the test is run as the
root user. Currently under remote execution with bazel this is the
only working option. There is a workaround in place, but the entire
suite when run that way takes around 12 minutes. This splits the suite
so that the minimal set of cases is executed using the slower workaround.
2021-09-17 11:08:48 +02:00
Philip Kuryloski 41088a4f5d Update release notes 2021-09-17 10:13:07 +02:00
Philip Kuryloski bcd565f2cb Use the +deterministic compiler flag when building with Make 2021-09-17 09:34:50 +02:00
Philip Kuryloski f81afb00ce
Merge pull request #3440 from rabbitmq/deterministic-compiler-flag-mix
Use the deterministic compiler flag for elixir/rabbitmq_cli
2021-09-17 09:28:28 +02:00