summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use rabbit_queue_behaviour and callbackLuke Bakken2017-11-025-19/+34
| | | | | | | | Alternative for #1388 that does not use process dictionary. Requires rabbitmq/rabbitmq-common#228 Fix waiting_bump values
* Merge pull request #1414 from rabbitmq/rabbitmq-management-499-followupMichael Klishin2017-11-011-12/+7
|\ | | | | Report strategy, erlang total, rss and allocated memory
| * Use strategy as keyDiana Corbacho2017-10-311-1/+1
| | | | | | | | [#152311595]
| * Report strategy, erlang total, rss and allocated memoryDiana Corbacho2017-10-311-12/+7
| | | | | | | | [#152311595]
* | Merge branch 'stable'Michael Klishin2017-10-311-3/+9
|\ \
| * \ Merge pull request #1413 from ↵rabbitmq_v3_6_13_rc2rabbitmq_v3_6_13Michael Klishin2017-10-311-3/+9
| |\ \ | | | | | | | | | | | | | | | | rabbitmq/mk-dont-throw-when-connection-pid-is-non-local Make rabbit_networking:close_connection/2 more benign
| | * | Make rabbit_networking:close_connection/2 more benignMichael Klishin2017-10-301-3/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function relies on a fanout to all running cluster nodes which in turn check their local connection process group. All errors that might arise are ignored. There are at least two scenarios where the current behavior makes little sense: * A connection process has just terminated (but is still present in the stats DB) * A node could not respond (or respond in time) to the fanout In both cases claiming that connection pid is "not a connection pid" is misleading and likely will leave the user puzzled. This change makes connection_close/2 more benign: it simply logs a warning and returns instead of throwing. There are only two call sites that use it: rabbitmqctl and an HTTP API handler, so the chances of non-connection pids passed in are pretty slim. Per discussion with @gerhard.
* | | Merge branch 'stable'Michael Klishin2017-10-301-2/+3
|\ \ \ | |/ /
| * | Merge pull request #1412 from rabbitmq/rabbitmq-server-1411rabbitmq_v3_6_13_rc1Michael Klishin2017-10-301-2/+3
| |\ \ | | | | | | | | Accept strings and atoms for queue_master_locator setting
| | * | Accept strings and atoms for queue_master_locator settingLuke Bakken2017-10-301-2/+3
| |/ / | | | | | | | | | Fixes #1411
* | | Replace orddicts with mapsDaniil Fedotov2017-10-308-72/+71
| |/ |/|
* | Merge branch 'stable'Michael Klishin2017-10-291-1/+1
|\ \ | |/
| * Bump rabbit.num_ssl_acceptors default to 10Michael Klishin2017-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | Previously the value was limited to 1 due to a bug in Ranch 1.0: it didn't depend on the ssl app, which means Ranch/ssl shut down order was not guaranteed. This led to scary but entirely harmless exception traces in the log, one per TLS acceptor. The issue is no longer present in Ranch 1.3.x and 1.4.0. Per discussion with @essen.
* | Don't assert on node start successMichael Klishin2017-10-281-4/+4
| | | | | | | | | | | | | | | | | | Nodes fail to start and log that a node with such name is already running. The rest of the test is functional, however. This is a workaround to get the pipeline going, it could be that the VM does not terminate in some cases we expect in this long test. In certain parts I don't see why it would.
* | Merge pull request #1408 from rabbitmq/rabbitmq-server-1367Michael Klishin2017-10-282-6/+21
|\ \ | | | | | | Configurable default consumer prefetch for new channels
| * | ExplainMichael Klishin2017-10-281-0/+1
| | |
| * | Compile from scratchMichael Klishin2017-10-281-1/+1
| | |
| * | Configurable default consumer prefetch for new channelsDiana Corbacho2017-10-272-6/+20
| | | | | | | | | | | | | | | rabbitmq-server#1367 [#151216783]
* | | Merge branch 'stable'Daniil Fedotov2017-10-273-9/+23
|\ \ \ | | |/ | |/|
| * | Update clustering management test to support transient rabbit appDaniil Fedotov2017-10-271-2/+13
| | |
| * | Merge pull request #1406 from rabbitmq/rabbitmq-server-1216-backportGerhard Lazu2017-10-272-6/+13
| |\ \ | | | | | | | | Start `rabbit` application as temporary in tests.
| | * | Start `rabbit` application as temporary in tests.Daniil Fedotov2017-10-262-6/+13
| | | | | | | | | | | | | | | | | | | | Some tests output can break when `rabbit` application failure stops the node. Make it possible to configure restart type.
| * | | Merge pull request #1407 from rabbitmq/rabbitmq-server-1378-revertGerhard Lazu2017-10-271-5/+13
| |\ \ \ | | | | | | | | | | Re-introduce consumer bias & set to 2.0
| | * | | Set consumer bias to 2 to prioritise consumersDaniil Fedotov2017-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | [#152235655]
| | * | | Revert "Remove consumer bias & allow queues under max load to drain quickly"Daniil Fedotov2017-10-261-5/+13
| |/ / / | | | | | | | | | | | | This reverts commit 155eb6b0bffe3126ab18ab228296821ce0dc1f8c.
* | | | Merge branch 'stable'Michael Klishin2017-10-261-24/+33
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | Conflicts: src/rabbit_vm.erl
| * | Merge pull request #1404 from rabbitmq/rabbitmq-management-499Michael Klishin2017-10-261-25/+33
| |\ \ | | |/ | |/| Add more sections to the memory breakdown.
| | * Add more sections to the memory breakdown.Daniil Fedotov2017-10-251-25/+33
| | | | | | | | | | | | | | | | | | If a node memory is measured using `allocator` or `rss` strategies, we can calculate unused memory and report it separately in the memory breakdown.
* | | Merge branch 'stable'Michael Klishin2017-10-251-30/+42
|\ \ \ | |/ / | | | | | | | | | | | | Conflicts: src/rabbit_channel.erl src/rabbit_control_main.erl
| * | Merge pull request #1403 from rabbitmq/performanceMichael Klishin2017-10-251-30/+42
| |\ \ | | | | | | | | Performance enhancements
| | * | Avoid lists when generating channel statsDiana Corbacho2017-10-251-30/+38
| | | | | | | | | | | | | | | | [#152240490]
| | * | Comment optimisation in format channel statsDiana Corbacho2017-10-251-0/+4
| | |/ | | | | | | | | | [#152240490]
| * | Merge pull request #1402 from rabbitmq/lrb-qa-152075395Michael Klishin2017-10-251-4/+17
| |\ \ | | |/ | |/| Handle errors returned via RPC during shutdown
| | * Review changesLuke Bakken2017-10-251-14/+8
| | |
| | * Make error processing a bit smarter and add comments as to whyLuke Bakken2017-10-251-4/+20
| | |
| | * Handle catch all (error) caseLuke Bakken2017-10-252-5/+5
| | |
| | * Trigger error in shutdownLuke Bakken2017-10-242-3/+6
| |/ | | | | | | | | | | Added an exit() statement to trigger an error and then some case statements to handle it. QA of commit 51aca8851eba66445ad5b164fc92b2ffa0692fc2
* | Merge branch 'stable'Daniil Fedotov2017-10-243-23/+68
|\ \ | |/
| * Merge pull request #1388 from rabbitmq/rabbitmq-server-batch-betasGerhard Lazu2017-10-233-23/+68
| |\ | | | | | | Flush messages to disk in batches.
| | * Merge branch 'stable' into rabbitmq-server-batch-betasMichael Klishin2017-10-191-1/+1
| | |\
| | * | Fix the flag value for queue waiting message paging continuationDaniil Fedotov2017-10-181-1/+1
| | | |
| | * | Flush messages to disk in batches.Daniil Fedotov2017-10-183-23/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If messages should be embedded to a queue index, there will be no credit flow limit, so message batches can be too big and block the queue process. Limiting the batch size allows consumer to make progress while publishers are blocked by the paging-out process. [#151614048]
* | | | Support rabbit.connection_max in Cuttlefish schemaMichael Klishin2017-10-222-1/+32
| | | |
* | | | Merge branch 'stable'Michael Klishin2017-10-203-1/+22
|\ \ \ \ | |/ / /
| * | | Merge branch 'cloudamqp-max_connections' into stableMichael Klishin2017-10-203-1/+22
| |\ \ \
| | * | | Add rabbit.connection_max to rabbitmq.config.exampleMichael Klishin2017-10-201-0/+19
| | | | |
| | * | | rabbit.max_connections => rabbit.connection_maxMichael Klishin2017-10-202-1/+2
| | | | | | | | | | | | | | | | | | | | We already have rabbit.channel_max, frame_max.
| | * | | Merge branch 'max_connections' of ↵Michael Klishin2017-10-201-1/+2
| | |\ \ \ | |/ / / / | | | | | | | | | | https://github.com/cloudamqp/rabbitmq-server into cloudamqp-max_connections
| | * | | use rabbit_misc:get_env/3 for backward compabilityCarl Hörberg2017-10-201-1/+1
| | | | |
| | * | | Allow configuring max connections through configCarl Hörberg2017-10-181-1/+2
| | |/ /