summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Log deferred file compaction at debug levelMichael Klishin2019-05-051-1/+1
|
* Move check for reader to action function for message store GC.Daniil Fedotov2019-05-032-34/+53
| | | | | | | | | | | | | | | Message store GC postpones processing of file, which have readers. When performing an action, it asserts that there are no readers. Check for readers may race with readers update by a queue, crashing the message store. Make check and assert work with the same lookup to reduce failure rate. In case of races the queue process should handle exception instead. Addresses #2000 [#165755203]
* feature_flags_SUITE: Bump testcase timeout to 10 minutesJean-Sébastien Pédron2019-05-031-1/+1
|
* rabbit_feature_flags: Export initialize_registry/1 for the testsuiteJean-Sébastien Pédron2019-05-031-2/+2
| | | | | | | | Hiding the export behind the `TEST` macro should work on the paper. Unfortunately, when we compile a test plugin as part of the `feature_flags_SUITE` testsuite, `rabbit` is recompiled without the `TEST` macro. This causes the testsuite to fail with an `undef` exception because initialize_registry/1 is not exported anymore.
* Merge pull request #1998 from rabbitmq/consumer_timeouts_take_2Michael Klishin2019-05-033-61/+23
|\ | | | | Always close channel on consumer timeout
| * Log consumer timeout as a warningMichael Klishin2019-05-031-4/+4
| |
| * Drive by change: squash a compiler warningMichael Klishin2019-05-031-1/+0
| |
| * When consumer hits an ack timeout, log timeout value usedMichael Klishin2019-05-031-3/+3
| |
| * formattingkjnilsson2019-05-011-1/+1
| |
| * Always close channel on consumer timeoutkjnilsson2019-05-012-56/+19
| | | | | | | | | | | | In order to keep things simple and consistent this changes consumer timeouts to always close the channel instead of cancelling and returning.
* | rabbit_queue_location_validator: Fix pattern in validate_policy/1Jean-Sébastien Pédron2019-05-031-1/+1
| | | | | | | | | | | | | | | | validate_strategy/1 error value is `{error, FormatString, Args}`, not the usual `{error, Reason}`. This incorrect pattern matching was found thanks to the `set_policy_command_test.exs` testsuite in rabbitmq-cli.
* | Merge pull request #1999 from rabbitmq/queue-master-location-validationMichael Klishin2019-05-032-1/+18
|\ \ | | | | | | Policy validation must return 'ok' or an error
| * | Wording, explainMichael Klishin2019-05-031-2/+2
| | |
| * | Test invalid policy returns an errorDiana Corbacho2019-05-021-0/+14
| | | | | | | | | | | | [#165689664]
| * | Policy validation must return 'ok' or an errorDiana Corbacho2019-05-021-1/+4
| |/ | | | | | | | | | | Any other value will break the validation cycle and leave the rest of the arguments without validate [#165689664]
* | feature_flags_SUITE: Do not depend on the `quorum_queue` feature flagJean-Sébastien Pédron2019-05-021-73/+92
|/ | | | | This will ease the backport to 3.7.x where that feature flag does not exist.
* Update rabbitmq-components.mkGerhard Lazu2019-05-011-1/+1
|
* Update rabbitmq-components.mkLuke Bakken2019-04-301-1/+1
|
* rabbit_ff_extra: Use stdout_formatter to display `info()` tableJean-Sébastien Pédron2019-04-303-81/+98
| | | | [#164931055]
* Merge pull request #1995 from rabbitmq/sac-qq-fixArnaud Cogoluègnes2019-04-302-34/+74
|\ | | | | QQ SAC: process all consumers on noconnection
| * QQ SAC: process all consumers on noconnectionkjnilsson2019-04-302-34/+74
|/ | | | | | | | There can be multiple single active consumers in the consumers map if all but one are cancelled. Take this into account when processing noconnections. [#165438843]
* Merge pull request #1994 from rabbitmq/rabbitmq-server-1980Luke Bakken2019-04-292-3/+109
|\ | | | | Reset overflow queue property to drop-head if policy is unset.
| * Reset overflow queue property to drop-head if policy is unset.Daniil Fedotov2019-04-252-3/+109
| | | | | | | | | | | | | | If `overflow` policy is unset the actual queue property should reset to it's default value. Fixes #1980
* | rabbit_ssl: support Erlang 21 and 22 suite formatting APIMichael Klishin2019-04-291-4/+30
| |
* | Merge pull request #1989 from rabbitmq/rabbitmq-erlang-client-91Michael Klishin2019-04-252-91/+1
|\ \ | | | | | | Move rabbit_queue_collector to rabbit_common repo
| * \ Merge branch 'master' into rabbitmq-erlang-client-91Michael Klishin2019-04-2512-360/+907
| |\ \ | |/ / |/| |
* | | rabbit_ssl: less confusing wording around xref exclusionsMichael Klishin2019-04-251-1/+1
| | |
* | | xref: OTP 21/22 compatibility :(Michael Klishin2019-04-251-0/+6
| | |
* | | Merge pull request #1988 from rabbitmq/rabbitmq-server-1904Michael Klishin2019-04-254-6/+16
|\ \ \ | |_|/ |/| | Track messages that were not routed anywhere and also not published as mandatory
| * | Update this test for #1904Michael Klishin2019-04-251-3/+3
| | |
| * | Core metrics suite: publish unroutable messages, too (for #1904)Michael Klishin2019-04-241-0/+2
| | |
| * | Increment drop_unroutable un deliver_to_queues/2Michael Klishin2019-04-241-1/+2
| | | | | | | | | | | | | | | | | | | | | Some code paths only go through it, e.g. when a transaction commits. Pair: @dcorbacho.
| * | Track messages that were not routed anywhere and also not published as mandatoryMichael Klishin2019-04-232-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | so they have to be dropped. Part of #1904. [#165548314]
* | | Merge pull request #1993 from velimir/newline-config-validationMichael Klishin2019-04-251-1/+1
|\ \ \ | | | | | | | | print cuttlefish validation error on a new line
| * | | print cuttlefish validation error on a new lineGrigory Starinkin2019-04-251-1/+1
|/ / /
* | | Merge pull request #1991 from rabbitmq/rabbitmq-cli-342Michael Klishin2019-04-251-0/+53
|\ \ \ | | | | | | | | Add functions to get erlang or openssl formatted ciphers.
| * | | Remove check for OTP-20.3 compatibility when formatting cipher_suites.Daniil Fedotov2019-04-241-14/+2
| | | | | | | | | | | | | | | | Minimal supported erlang version is 21.3
| * | | Add functions to get erlang or openssl formatted ciphers.Daniil Fedotov2019-04-241-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SSL application provides API to get ciphers by format or by default/all/anonymous, but not both, so it's not possible to get all openssl-formatted ciphers. OTP-20 and OTP-21 have different modules containing cipher formatting functions - using function_exported to support both. Addresses rabbitmq/rabbitmq-cli#342
* | | | Merge branch 'velimir-schema-check-boot-failed'Michael Klishin2019-04-252-50/+75
|\ \ \ \
| * | | | Rework log initialisation tests and boot error reportingMichael Klishin2019-04-252-43/+50
| | | | | | | | | | | | | | | | | | | | | | | | | Incorrect argument formatting was exposed by the change in #1990 and resulted in unit test failures.
| * | | | unit_inbroker_non_parallel suite: split log management test into two smaller ↵Michael Klishin2019-04-251-4/+22
| | | | | | | | | | | | | | | | | | | | ones
| * | | | Merge branch 'schema-check-boot-failed' of ↵Michael Klishin2019-04-251-8/+8
| |\ \ \ \ |/ / / / / | | | | | | | | | | https://github.com/velimir/rabbitmq-server into velimir-schema-check-boot-failed
| * | | | show output from cuttlefish when conf validation failsGrigory Starinkin2019-04-241-8/+8
| |/ / / | | | | | | | | | | | | fixes #1985
* | | | Merge pull request #1983 from rabbitmq/quorum-ets-memory-breakdownMichael Klishin2019-04-251-1/+3
|\ \ \ \ | | | | | | | | | | Report memory used by the ETS tables of the ra log
| * \ \ \ Merge branch 'master' into quorum-ets-memory-breakdownMichael Klishin2019-04-2412-349/+802
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1972 from rabbitmq/consumer_timeoutsKarl Nilsson2019-04-246-303/+754
|\ \ \ \ \ | |_|/ / / |/| | | | Consumer timeouts
| * | | | spellingkjnilsson2019-04-231-7/+7
| | | | |
| * | | | Move consumer timeout handlerkjnilsson2019-04-231-61/+63
| | | | | | | | | | | | | | | | | | | | To own function
| * | | | Cancel tick timer if there are no pending ackskjnilsson2019-04-231-10/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there are no pending acks we should allow the channel to enter hibernate without being woken up by the tick timer. [#164212469]
| * | | | Move consumer timeout tests to own SUITEkjnilsson2019-04-235-88/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also handle case where client does not support consumer cancellation and rename the queue_cleanup timer to a generic "tick" timer for channels to perform periodic activities. [#164212469]