Michael Klishin
c973a93445
Merge pull request #3203 from rabbitmq/remove_project_maturity
...
Remove project maturity warning
2021-07-20 18:36:34 +03:00
Philip Kuryloski
0593e8307e
Increase timeouts in aws peer discovery integration suite
2021-07-20 11:41:40 +02:00
Gabriele Santomaggio
de0f7952e9
Add resources link
...
to client guide line and streams internals
2021-07-20 09:55:25 +02:00
Gabriele Santomaggio
84f51d7926
Remove project maturity warning
2021-07-20 09:00:11 +02:00
Michael Klishin
5c3f456131
Improve a Cuttlefish validator message
2021-07-20 08:34:40 +03:00
Michael Klishin
e20bca44cc
rabbit_stream_reader: these should not be logged at info level
2021-07-20 00:55:40 +03:00
Michael Klishin
c1e3710140
Squash a compiler warning
2021-07-20 00:55:40 +03:00
Michael Klishin
4ba8d05535
Merge pull request #3202 from rabbitmq/validate-amqp0-9-1-queue-name-length-in-management-ui
...
Validate amqp0.9.1 queue name length in management UI
2021-07-19 21:57:41 +03:00
Michael Klishin
70ebefc0f2
rabbit_stream: ignore escript and sbin
2021-07-19 20:26:16 +03:00
Michael Klishin
532d076907
Merge pull request #3194 from rabbitmq/stream-reader-state-timeouts
...
Add stream reader state timeouts
2021-07-19 20:16:04 +03:00
David Ansari
863b899079
Remove TEST macro
...
since it fails with Bazel.
As discussed with @pjk25, let's set this value via application env,
make it configurable to the test, but not configurable to the user.
2021-07-19 16:42:54 +02:00
Ilya Khaprov
c5665d6da9
Validate AMQP0.9.1 queue name length when creating queue directly or via shovel in Management UI. close #3074
2021-07-19 14:57:50 +02:00
David Ansari
13b03b8530
Remove unused variable warning
2021-07-19 14:36:22 +02:00
Philip Kuryloski
d6399bbb5b
Mixed version testing in bazel ( #3200 )
...
Unlike with gnu make, mixed version testing with bazel uses a package-generic-unix for the secondary umbrella rather than the source. This brings the benefit of being able to mixed version test releases built with older erlang versions (even though all nodes will run under the single version given to bazel)
This introduces new test labels, adding a `-mixed` suffix for every existing test. They can be skipped if necessary with `--test_tag_filters` (see the github actions workflow for an example)
As part of the change, it is now possible to run an old release of rabbit with rabbitmq_run rule, such as:
`bazel run @rabbitmq-server-generic-unix-3.8.17//:rabbitmq-run run-broker`
2021-07-19 14:33:25 +02:00
Philip Kuryloski
0f4cf2755d
Increase a timeout for flakiness sake
2021-07-19 14:24:46 +02:00
Michael Klishin
a4cc096728
rabbit_vhost: introduce all_tagged_with/1
2021-07-18 08:33:29 +03:00
Michael Klishin
ef14bf067e
ctl add_vhost: propagate tags if no description is given
2021-07-18 08:28:53 +03:00
Philip Kuryloski
0a78484999
Make things a little more consistent between per_*_limit suites
2021-07-16 14:40:51 +02:00
Philip Kuryloski
4f514f435b
Try to reduce flakes in per_user_connection_channel_limit_partitions_SUITE
2021-07-16 14:32:35 +02:00
Michael Klishin
9a023b2547
Event exchange: explicitly translate two more known event types
...
new in 3.9
2021-07-16 08:09:19 +03:00
João Britto
5c69b91e15
Remove amqp_ssl:add_verify_fun_to_opts/2,3
...
These functions have become no-op after d76234f .
The maybe_add_verify_fun/3 function has become unreachable and was removed too.
2021-07-15 17:28:49 -03:00
David Ansari
4053f729dd
Rename STATE_TIMEOUT to CONNECTION_NEGOTIATION_STEP_TIMEOUT
2021-07-15 20:56:56 +02:00
David Ansari
694804d0d2
Add timeout reason to log message
2021-07-15 20:53:46 +02:00
David Ansari
3964da37b4
Close TCP connection when stream reader times out
...
Add state timeouts.
If the client takes more than 10s for a single step in the authentication
protocol, make the server close the TCP connection.
Also close the TCP connection if the server times out in state
close_sent. That's the case when the client sends an invalid command
(after successful authentication), the server requests the client to
close the connection, but the client doesn't respond anymore.
2021-07-15 19:29:24 +02:00
Philip Kuryloski
97e8037b80
Replace some static sleeps in tests with dynamic waits
...
This should help with flakiness
2021-07-15 16:42:14 +02:00
dcorbacho
9e128b72b4
Set info/2 timeout to infinity to list connections
...
Default gen_server timeout is not enough to list busy connections.
Setting it to infinity allows the caller to decide the timeout,
as classic queues do. The `emit_info` function's family sets its
own timeout for all the cli commands.
2021-07-14 17:16:22 +02:00
Philip Kuryloski
8a339aae6c
Fixup rabbitmq_federation:queue_SUITE for mixed version testing
2021-07-13 18:05:04 +02:00
Michael Klishin
29bb9c5b0c
Merge pull request #3175 from processone/proxy_protocol_tls_info
...
Extract TLS informations that are delivered in PROXY protocol frame
2021-07-13 15:08:40 +03:00
Philip Kuryloski
860333a088
Merge pull request #3177 from rabbitmq/stream-commit-offset-becomes-store-offset
...
Use "store" instead of "commit" for offset tracking
2021-07-13 12:11:37 +02:00
Philip Kuryloski
ff619eea6a
Mark per_vhost_connection_limit_SUITE as flaky
2021-07-12 22:21:02 +02:00
Michael Klishin
7de491fd82
Merge pull request #3187 from rabbitmq/less-chatty-mqtt
...
Change a log line from INFO to DEBUG
2021-07-12 19:07:29 +03:00
Philip Kuryloski
8f9de08de7
Also assert no missing suites for all other deps
2021-07-12 18:05:55 +02:00
Michal Kuratczyk
41922b96cf
Change a log line from INFO to DEBUG
...
This line is printed on every new MQTT connection which leads to very chatty logs when there is a lot of connections. Given that the way MQTT uses vhosts is generally static (once set up, always the same for all connections), I think this can be a debug message instead.
2021-07-12 16:50:25 +02:00
Philip Kuryloski
05111b3653
Add an assertion that no deps/rabbit common test suites are missing
...
in bazel
2021-07-12 15:55:56 +02:00
Philip Kuryloski
71ae7e7d14
Merge pull request #3186 from rabbitmq/use-bazel-erlang-native-sharding
...
Use bazel erlang native sharding
2021-07-12 12:36:37 +02:00
Philip Kuryloski
3eac3cf8a8
Remove unused load statements from bazel files
2021-07-12 12:10:26 +02:00
Philip Kuryloski
923d87f847
Avoid using a duplicate group name in rabbitm_stream_queue_SUITE
...
Since bazel-erlang doesn't support this with sharding
2021-07-09 16:26:56 +02:00
Philip Kuryloski
8421100008
Use bazel-erlang semi-automatic suite sharding
2021-07-09 10:05:16 +02:00
tomyouyou
f55a3e1b08
'start_ssl_listener/4' has wrong parameter orfer
...
The 'ConcurrentConnsSupsCount' should be the last paramter
2021-07-08 18:12:31 +08:00
Arnaud Cogoluègnes
8ddff0faf8
Use "store" instead of "commit" for offset tracking
2021-07-08 11:28:33 +02:00
Philip Kuryloski
19b8fa1409
Mark //deps/rabbitmq_stomp:python_SUITE as flaky
2021-07-08 11:22:15 +02:00
Arnaud Cogoluègnes
7cb2645283
Replace commit with store for offset persistence
...
In stream protocol. Commit have a strong consistency connotation,
which is not actually enforced by the offset persistence
mechanism.
2021-07-08 10:32:04 +02:00
Philip Kuryloski
2fc112e29c
Correct some test cleanup in rabbit_mgmt_http_SUITE
2021-07-07 18:05:55 +02:00
Michael Klishin
00f647cf04
Channel tracking: reduce log verbosity
...
When a connection is closed, we should not log that all of its
channels are closed every single time.
Per discussion with @mkuratczyk
2021-07-06 18:54:49 +03:00
Arnaud Cogoluègnes
76c4c2792b
Merge pull request #3171 from rabbitmq/stream-add-uncompressed-length-to-sub-batch-format
...
Add uncompressed size in stream sub-entry
2021-07-06 14:45:45 +02:00
Michael Klishin
2ea732b7ef
Drop a couple of non-essential debug log messages
...
Note that we still have epmd recovery-related log messages.
Per discussion with @mkuratczyk.
2021-07-06 14:18:32 +03:00
Michael Klishin
1bdecdb2c4
Introduce a few new rabbit_policy listing functions
2021-07-06 05:38:51 +03:00
Arnaud Cogoluègnes
f9867f1f82
Add uncompressed size field for pub ids generation
2021-07-05 16:22:21 +02:00
Karl Nilsson
284809e750
Merge pull request #3170 from rabbitmq/stream-flaky
...
Fix restart of stream coordinator when there are no stream queues
2021-07-05 15:03:45 +01:00
Philip Kuryloski
da6da8d6c7
Clear memory alarms on all nodes in the memory_alarm_rolls_wal test
...
If the alarm is triggered directly with `rabbit_alarm` it has to be
cleared on all nodes
2021-07-05 15:57:56 +02:00