summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Add verbose testsuites to slow testsuitesJean-Sébastien Pédron2019-01-081-0/+2
| | | | This is only so we don't reach the log size limit on Travis CI.
* Makefile: Update the list of slow testsuitesJean-Sébastien Pédron2019-01-081-1/+14
| | | | | This should help reduce the load in Travis CI or when doing quick testing locally.
* per_vhost_connection_limit_partitions: Check connections count in a loopJean-Sébastien Pédron2019-01-081-4/+15
| | | | It should fix transient failures in CI.
* Travis CI: Update config from rabbitmq-commonJean-Sébastien Pédron2019-01-081-12/+2
|
* Merge pull request #1817 from rabbitmq/ra_server_supervisionKarl Nilsson2019-01-083-14/+17
|\ | | | | Update with Ra server supervision changes
| * Update with Ra server supervision changeskjnilsson2019-01-043-14/+17
| |
* | Travis CI: Update config from rabbitmq-commonJean-Sébastien Pédron2019-01-081-4/+3
| |
* | New style config file example: list settings added in 3.7.9 and 3.7.10Michael Klishin2019-01-071-42/+117
| |
* | unit_inbroker_parallel_SUITE: Bump suite timetrap to 3 minutesJean-Sébastien Pédron2019-01-071-1/+1
| | | | | | | | 30 seconds seem too short currently in CI.
* | Merge pull request #1721 from rabbitmq/remove-default-bindingsMichael Klishin2019-01-043-66/+93
|\ \ | | | | | | Remove default bindings
| * | Filter out default exchange bindings that may already be in the databaseMichael Klishin2019-01-031-3/+8
| | | | | | | | | | | | | | | | | | This avoids duplicates after an existing installation is upgraded. References #1721.
| * | Check queue existence when checking for fake bindings existence.Daniil Fedotov2019-01-021-17/+24
| | | | | | | | | | | | | | | rabbit_binding:exists checks bindings table. Since default bindings are not in that table anymore, it should check for queue existence.
| * | Add fake bindings to list functions.Daniil Fedotov2018-12-282-14/+51
| | | | | | | | | | | | | | | Default bindings are not represented in the mnesia database but still expected in the management UI and the rabbitmqctl command.
| * | Make master locator min-masters count queues and not bindings.Daniil Fedotov2018-12-281-41/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The min-masters locator was originally designed to count bindings, but this was confusing for people wanting to distribute queues rather than routes to queues. This was changed in 1d413eac80c2adb6844b82c8ce57e21a04a55b04 to count only queues which have at least one binding. But queues always have bindings (default) and hence it's equivalent to listing queues. Since default bindings are removed the location was broken. This commit changes the location to actually list queues rather than bindings.
| * | Do not create default bindings for queues.Daniil Fedotov2018-12-281-11/+1
| | | | | | | | | | | | | | | | | | | | | Routing from default exchange is performed without querying bindings and they cannot be unbound and only show in `rabbitmqctl list_bindings`. There is no point in keeping them and they are slowing down cleanup.
* | | Merge pull request #1812 from rabbitmq/max_msg_sizeDaniil Fedotov2019-01-024-20/+127
|\ \ \ | | | | | | | | Introduce a configurable limit to message size
| * | | Rework message size limit testMichael Klishin2019-01-022-58/+54
| | | | | | | | | | | | | | | | | | | | | | | | * Use smaller messages for tests * No need to publish a message above the hard limit, use a helper (these are unit tests) * Wording
| * | | Open the channel after max length limit is configuredMichael Klishin2019-01-021-3/+5
| | | |
| * | | Merge branch 'master' into max_msg_sizeMichael Klishin2019-01-017-212/+228
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1815 from rabbitmq/rabbitmq-server-1814Michael Klishin2019-01-012-7/+7
|\ \ \ \ | |_|/ / |/| | | Honor cipher suite order in rabbitmq.conf
| * | | Reverse order of ciphers in generated file to ensure they match ↵Luke Bakken2018-12-311-1/+1
| | | | | | | | | | | | | | | | rabbitmq.conf. The ct helpers will not verify this as the snippets and results are deep sorted
| * | | Modify test so generated ciphers are in the expected orderLuke Bakken2018-12-311-6/+6
|/ / /
* | | Merge pull request #1809 from rabbitmq/qq-purge-bug-fixD Corbacho2018-12-243-28/+23
|\ \ \ | | |/ | |/| Quorum queue: purge should not remove checkout out messages.
| * | Quorum queue: purege should not remove checkout out messages.kjnilsson2018-12-213-28/+23
|/ / | | | | | | | | | | As these may be returned by a consumer after the purge. [#162811681]
* | Merge pull request #1808 from rabbitmq/ra_machine_apply_3Michael Klishin2018-12-213-182/+203
|\ \ | | | | | | rabbit_fifo: apply/4 -> apply/3
| * | rabbit_fifo: apply/4 -> apply/3kjnilsson2018-12-203-182/+203
|/ / | | | | | | Support the latest Ra api changes.
| * Move application environment read to the channel intialisation.Daniil Fedotov2018-12-282-33/+45
| | | | | | | | | | | | This can save us some reductions by avoiding ets read. [#161983593]
| * Introduce a configurable limit to message size.Daniil Fedotov2018-12-274-2/+99
|/ | | | | | | | | | | Add `max_message_size` configuration to configure limit in bytes. If message is bigger - channel exception will be thrown. Default limit is 128MB. There is still a hard limit of 521MB. [#161983593]
* Merge pull request #1807 from rabbitmq/redlivery-count-fixMichael Klishin2018-12-192-4/+5
|\ | | | | Do not include x-delivery-count header on first delivery.
| * Do not include x-delivery-count header on first delivery.kjnilsson2018-12-192-4/+5
|/ | | | [#162755631]
* Squash a warningMichael Klishin2018-12-191-2/+2
|
* Merge pull request #1806 from rabbitmq/report-message-bytesMichael Klishin2018-12-191-2/+9
|\ | | | | quorum queue: reset message bytes on purge
| * quorum queue: reset message bytes on purgekjnilsson2018-12-191-2/+9
|/ | | | [#161505138]
* Merge pull request #1803 from rabbitmq/vanlightly-bugsD Corbacho2018-12-195-83/+134
|\ | | | | Bugfixes
| * Quorum queue: fix crash bug after reconnectionkjnilsson2018-12-182-24/+36
| | | | | | | | | | | | | | | | | | | | | | When a consumer node is disconnected the quorum queue will return all outstanding messages for the consumer to the queue as it cannot know if the consumer will ever come back or not and cannot leave things checked out forever. If the consumer node then reconnectes and the consumer channel is still alive it may try to query for missing deliveries and this previously crashed if the messages had been returned to the main queue. This fix makes the query safer as well as handling missing messages better.
| * Quorum queue: return messages in orderkjnilsson2018-12-175-36/+60
| | | | | | | | | | | | | | | | | | Fixes bug that muddled up the checkout order when a consumer is cancelled with more than 32 messages checked out. Dialyzer fixes. [#162698673]
| * Bug fixeskjnilsson2018-12-172-23/+38
| | | | | | | | | | | | | | | | | | 1. rabbit_quorum_queue:update_metrics/2 used calls to remote processes. To avoid this blocking the ra server in a partition we now spawn a new process for this. 2. Due to a refactoring miss commands over the soft limit where never formatted successfully.
* | Merge pull request #1685 from rabbitmq/rabbitmq-server-1682Luke Bakken2018-12-171-1/+11
|\ \ | |/ |/| Take "true" case into consideration
| * Simplify to basically removing the pattern match that crashesLuke Bakken2018-12-141-15/+8
| |
| * Take "true" case into considerationLuke Bakken2018-12-141-3/+20
|/ | | | | | Fixes #1682 Call E() instead of crashing with badmatch, retry when queue is mirrored
* Merge pull request #1796 from rabbitmq/report-message-bytesKarl Nilsson2018-12-143-30/+165
|\ | | | | Report message bytes in quorum queue stats
| * Report message bytes in quorum queue statsDiana Corbacho2018-12-143-30/+165
|/ | | | [#161505138]
* Merge pull request #1801 from rabbitmq/qq-list-consumersArnaud Cogoluègnes2018-12-148-296/+480
|\ | | | | Implement consumer listing for quorum queues
| * fix rabbit_fifo SUITEkjnilsson2018-12-141-5/+7
| |
| * Implement consumer listing for quorum queueskjnilsson2018-12-148-292/+474
| | | | | | | | | | | | | | | | Refactor rabbit_fifo internal commands to use records instead of plain tuples to provide a little bit more compile time safety and make it easier to extend in the future. [#162584074]
* | Merge pull request #1800 from rabbitmq/qq-ghost-consumer-fixD Corbacho2018-12-143-49/+29
|\ \ | |/ | | Ensure quorum queue consumers are cleaned up
| * Ensure quorum queue consumers are cleaned upkjnilsson2018-12-123-49/+29
| | | | | | | | | | | | | | | | | | Fixes a bug where the consumer_created metrics table wasn't cleared when a consumer was cancelled. Also removing some injected handlers from rabbit_fifo [#162583758]
* | Merge pull request #1798 from rabbitmq/remove-unused-truncate-moduleMichael Klishin2018-12-122-197/+0
|\ \ | | | | | | Remove the unused truncate module
| * | Remove the unused truncate moduleLoïc Hoguin2018-12-112-197/+0
| |/ | | | | | | This kind of truncation is done automatically by lager now.
* | Merge pull request #1791 from rabbitmq/wal-roll-overKarl Nilsson2018-12-112-2/+103
|\ \ | |/ |/| Roll wal on memory alarm