Jean-Sébastien Pédron
80845dec41
erlang.mk: Update to add support for Rebar lock file version 1.2.0
2021-03-29 11:56:59 +02:00
Philip Kuryloski
ed69ceca98
Use master branches of the rabbitmq-ct*-helpers
...
https://github.com/rabbitmq/rabbitmq-ct-helpers/pull/47
https://github.com/rabbitmq/rabbitmq-ct-client-helpers/pull/4
2021-03-29 11:53:49 +02:00
Philip Kuryloski
388654c542
Add a partial Bazel build ( #2938 )
...
Adds WORKSPACE.bazel, BUILD.bazel & *.bzl files for partial build & test with Bazel. Introduces a build-time dependency on https://github.com/rabbitmq/bazel-erlang
2021-03-29 11:01:43 +02:00
dcorbacho
e98b343095
Fix variable match
2021-03-26 17:55:07 +01:00
Philip Kuryloski
09e85d2e3d
Merge pull request #2935 from rabbitmq/rabbitmq-queue-int-tests
...
Fix integration tests to wait until ra cluster is ready
2021-03-26 17:28:06 +01:00
dcorbacho
a1caff2a86
Fix integration tests to wait until ra cluster is ready
...
Publish/confirm before grow/shrink members is enough
2021-03-26 17:04:50 +01:00
Philip Kuryloski
1ead01081a
Increase startup delay range in peer_discovery_classic_config_SUITE
...
I suspect the second ra system for coordination requires a bit more
time in boot, as this seems to flake more often since the merge
2021-03-26 14:11:36 +01:00
Michael Klishin
2eac4debbf
rabbitmq.conf.example: mention pause_minority
2021-03-25 22:10:11 +03:00
Philip Kuryloski
3c0c0901b1
Restore retry in peer_discovery_classic_config_SUITE
...
It was accidentally left commented out
2021-03-25 20:05:36 +01:00
Philip Kuryloski
c313f36b57
Fix Makefile for feature_flags_SUITE_data/my_plugin
...
It was not updated for the rabbitmq-components.mk consolidation
2021-03-25 19:43:48 +01:00
Jean-Sébastien Pédron
f3f5606f22
rabbit_prelaunch_errors: Handle exception stacktraces with args list
...
... instead of function arity.
I don't know when this was introduced, perhaps Erlang 23. Anyway, each
stacktrace entry has now the form:
{Mod, Fun, ArgListOrArity, Props}
where `ArgListOrArity` is either the function arity (an integer) or the
actual list of arguments passed to the function.
If we get the latter, we format the stacktrace line as usual and we add
the list of arguments to the line below it.
2021-03-25 14:49:25 +01:00
Philip Kuryloski
008e47ef3c
Fixup the behavior of rabbit_mnesia:is_virgin_node/0
...
Given the addition of the Coord ra system (and additional files on disk)
2021-03-25 10:49:17 +01:00
Michael Klishin
411d494648
Merge pull request #2925 from rabbitmq/mk-drain-revive-with-disabled-feature-flag
...
Revisit what drain and revive do when their feature flag is not enabled
2021-03-24 23:12:48 +03:00
Michael Klishin
647b2ad453
Revisit what drain and revive do when their feature flag is not enabled
...
If maintenance mode feature flag is not enable, drain and revive should return an error
2021-03-24 23:11:59 +03:00
Michael Klishin
6ad235cc64
Update rabbitmq-diagnostics {drain, revive} tests
...
to enable the feature flag they depend for
their functionality.
2021-03-24 21:22:40 +03:00
kjnilsson
8d8b67bb34
fix rabbit_fifo_int_SUITE
2021-03-24 14:17:34 +00:00
Michael Klishin
43ab84a248
CLI tools: bump dependencies
2021-03-24 13:30:39 +03:00
Michael Klishin
6843bb681e
CLI tools: gitignore ./sbin
2021-03-24 13:30:39 +03:00
Philip Kuryloski
b62c5499ce
Reinstate the `prepare-dist` tasks for rabbitmq components
...
The consolidation of `rabbitmq-components.mk` broke the previous
method by which rabbit components were detected. Now we check
$(RABBITMQ_COMPONENTS) directly.
2021-03-23 17:42:23 +01:00
Michael Klishin
db420ef933
Update rabbitmq_auth_mechanism_ssl docs
2021-03-23 18:54:22 +03:00
kjnilsson
3e851f290e
AMQP 1.0: make stream tests enable feature flag
2021-03-23 10:41:56 +00:00
Michael Klishin
8adcfcda6c
Merge pull request #2909 from rabbitmq/ra-systems
...
Ra systems
2021-03-23 12:49:09 +03:00
Philip Kuryloski
a025ff71ea
Only fetch the monorepo once in rabbitmq-components.mk
...
when the rabbitmq-components.mk file is used in non-monorepo
plugins. Note that with this change all deps of type git_rmq-subfolder
must target the same branches for it to behave properly.
2021-03-23 08:45:21 +01:00
Gerhard Lazu
1e5708b0c5
Fix Grafana dashboards when importing from URL
...
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2021-03-22 19:27:13 +00:00
Michael Klishin
8eac876bc8
Use "quorum_queues" for QQ Ra system
...
"quorum" and "coordination" are not very distinctive
2021-03-22 21:44:19 +03:00
kjnilsson
62677cbacf
MQTT ra systems changes
2021-03-22 21:44:19 +03:00
kjnilsson
75cea78415
fixes
2021-03-22 21:44:19 +03:00
kjnilsson
f6f02a5d2d
ra systems wip
2021-03-22 21:44:15 +03:00
Michael Klishin
246f50598b
Stacktrace arity can be an argument list in some cases
...
According to [1]. What even are types.
1. https://erlang.org/doc/reference_manual/errors.html
2021-03-22 21:08:31 +03:00
Michael Klishin
1587e080b9
STOMP: remove a flaky Python test already covered in Erlang
2021-03-22 20:03:08 +03:00
Michael Klishin
4610cf5feb
Merge pull request #2918 from rabbitmq/dedupe-rabbitmq-components-mk
...
Remove duplicate rabbitmq-components.mk and erlang.mk files
2021-03-22 18:41:41 +03:00
Philip Kuryloski
a63f169fcb
Remove duplicate rabbitmq-components.mk and erlang.mk files
...
Also adjust the references in rabbitmq-components.mk to account for
post monorepo locations
2021-03-22 15:40:19 +01:00
Michael Klishin
85fd966d87
Merge pull request #2917 from rabbitmq/add_stream_commandctl
...
Add the rabbitmq-streams command
2021-03-22 16:21:04 +03:00
Gabriele Santomaggio
ba8fd1c125
Add the rabbitmq-streams command
2021-03-22 14:18:08 +01:00
Michael Klishin
4bceae0c21
Use the standard domain for quorum queue doc guides
2021-03-22 13:40:42 +03:00
Michael Klishin
afef3aec32
Merge pull request #2916 from rabbitmq/capabilities-renaming
...
Rename policies to unsupported_policies in capabilities/0
2021-03-22 13:16:21 +03:00
dcorbacho
9c1766df43
Rename policies to unsupported_policies in capabilities/0
2021-03-22 11:06:10 +01:00
Michael Klishin
373285093e
Merge pull request #2899 from rabbitmq/parallel-stream-suite
...
Run most stream tests in parallel
2021-03-19 22:21:18 +03:00
Michael Klishin
5a6c288395
Merge pull request #2902 from rabbitmq/unsupported-stream-rebalance
...
Filter out stream queues from rebalance command
2021-03-19 22:00:09 +03:00
Michael Klishin
5e0d7041cd
Merge pull request #2910 from rabbitmq/configure-num-conns-sup
...
Make ranch parameter `num_conns_sups` configurable
2021-03-19 21:59:30 +03:00
Michael Klishin
68bec4c945
Ranch max connection is per connection supervisor in Ranch 2.0
2021-03-19 21:54:45 +03:00
Jean-Sébastien Pédron
726b8beade
Merge pull request #2911 from rabbitmq/RABBITMQ_LOGS-envvar-does-not-override-configured-log-level
...
rabbit_prelaunch_logging: $RABBITMQ_LOGS doesn't override log level if it is set in the configuration file
2021-03-19 15:44:02 +01:00
Jean-Sébastien Pédron
9fd2d68e7a
rabbit_prelaunch_logging: $RABBITMQ_LOGS doesn't override log level
...
... if it is set in the configuration file.
Here is an example of that use case:
* The official Docker image sets RABBITMQ_LOGS=- in the environment
* A user of that image adds a configuration file with:
log.console.level = debug
The initial implementation, introduced in rabbitmq/rabbitmq-server#2861 ,
considered that if the output is overriden in the environment (through
$RABBITMQ_LOGS), any output configuration in the configuration file is
ignored.
The problem is that the output-specific configuration could also set the
log level which is not changed by $RABBITMQ_LOGS. This patch fixes that
by keeping the log level from the configuration (if it is set obviously)
even if the output is overridden in the environment.
2021-03-19 15:43:28 +01:00
kjnilsson
d6e96c238c
fix missing Ra deps updates
2021-03-19 13:54:43 +00:00
dcorbacho
a41ece3950
Make ranch parameter `num_conns_sups` configurable
...
Defaults to 1
rabbit - num_conns_sup
rabbitmq_mqtt - num_conns_sup
rabbitmq_stomp - num_conns_sup
2021-03-18 21:38:13 +01:00
kjnilsson
52f745dcde
Update rabbitmq-components.mk
...
use v1.x branch of ra
2021-03-18 15:14:40 +00:00
kjnilsson
4421c3680e
dockerignore deps
2021-03-18 15:04:39 +00:00
dcorbacho
75e37ce1db
Filter out stream queues from rebalance command
...
It's not yet supported by streams, so avoid them altogether to avoid crashes
2021-03-17 23:26:29 +01:00
dcorbacho
9b3b5d48ec
Run most stream tests in parallel
...
The test suite isn't faster, I guess some contention on the coordinator,
but is finding some bugs.
2021-03-17 21:32:42 +01:00
kjnilsson
a57b8e354d
AMQP 1.0 plugin: upgrade .NET test dependency
2021-03-17 13:55:21 +00:00