summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1252 from FabianPonce/fix-gc-docsMichael Klishin2017-06-073-4/+4
|\ | | | | Improve documentation around new default for background garbage collection
| * Modify the documentation and background_gc.erl default value for ↵Fabian Ponce2017-06-073-4/+4
|/ | | | background_gc_enabled to false to match the behavior of the Makefile.
* TypoDiana Corbacho2017-06-071-1/+1
|
* Merge branch 'stable'Michael Klishin2017-06-061-9/+12
|\
| * Merge branch 'rabbitmq-server-1233-v2' into stableMichael Klishin2017-06-061-9/+12
| |\
| | * Log MiB instead of MB and report total of bytesDiana Corbacho2017-06-061-9/+12
| |/ | | | | | | | | rabbitmq-server#1233 [#146160779]
* | Update clustering management test to support new CLI output.Daniil Fedotov2017-06-061-4/+4
| | | | | | | | | | Already joined node message. Changing disk node to disk should not fail
* | clustering_management_SUITE: join_cluster returns `ok` if successfulJean-Sébastien Pédron2017-06-061-1/+1
| | | | | | | | | | | | ... even if the node is already a member. This fixes a failure in the `join_and_part_cluster` testcase.
* | Support short peer_discovery_backend valuesMichael Klishin2017-06-061-0/+13
| | | | | | | | | | | | | | The list of backends that will be available when 3.7.0 ships is shaping up. Still to port: etcd and Kubernetes.
* | autocluster => cluster_formation in Cuttlefish schemaMichael Klishin2017-06-052-41/+41
| |
* | rabbit.autocluster => rabbit.cluster_formationMichael Klishin2017-06-052-7/+7
| | | | | | | | | | | | | | | | This name is both more descriptive and helps us avoid any possible conflicts with rabbitmq-autocluster, in particular in the new config format (Cuttlefish) that we will introduce for both soon. Per discussion with @dcorbacho.
* | Merge branch 'stable'Michael Klishin2017-06-021-0/+2
|\ \ | |/
| * Update rabbitmq-components.mkrabbitmq_v3_6_11_milestone1Michael Klishin2017-06-021-0/+2
| |
* | Sync with upstreamMichael Klishin2017-06-021-1/+1
|\ \
| * | crashing_queues_SUITE: Remove an unused variableJean-Sébastien Pédron2017-06-021-1/+1
| | |
* | | Merge branch 'stable'Michael Klishin2017-06-020-0/+0
|\ \ \ | |/ / |/| / | |/
| * Update rabbitmq-components.mkMichael Klishin2017-06-021-1/+8
| |
* | Update rabbitmq-components.mkMichael Klishin2017-06-011-1/+7
| |
* | Merge branch 'stable'Michael Klishin2017-06-010-0/+0
|\ \ | |/
| * Merge pull request #1241 from rabbitmq/rabbitmq-server-1238-stableMichael Klishin2017-05-301-0/+1
| |\ | | | | | | Update sup_delayed_restart_SUITE for rabbitmq-common#202
| | * Fix sup_delayed_restart_SUITE.Aliaksey Artamonau2017-05-301-0/+1
| |/ | | | | | | To accommodate changes made in rabbitmq/rabbitmq-common#201.
* | Merge pull request #1239 from rabbitmq/rabbitmq-server-1221Michael Klishin2017-05-311-2/+14
|\ \ | | | | | | Configure MNESIA_BASE and MNESIA_DIR on dev environment
| * | Configure MNESIA_BASE and MNESIA_DIR on dev environmentDiana Corbacho2017-05-301-2/+14
| | | | | | | | | | | | | | | rabbitmq-server#1221 [#145264225]
* | | Merge pull request #1238 from aartamonau/masterMichael Klishin2017-05-301-0/+1
|\ \ \ | | | | | | | | Update sup_delayed_restart_SUITE for rabbitmq/rabbitmq-common#201
| * | | Fix sup_delayed_restart_SUITE.Aliaksey Artamonau2017-05-291-0/+1
|/ / / | | | | | | | | | To accommodate changes made in rabbitmq/rabbitmq-common#201.
* | | Merge branch 'stable'Michael Klishin2017-05-272-7/+27
|\ \ \ | |/ / |/| / | |/
| * Merge pull request #1226 from binarin/dont-expand-dir-plugins-stableMichael Klishin2017-05-271-9/+32
| |\ | | | | | | Don't expand plugins that are already unpacked
| | * Naming, wordingMichael Klishin2017-05-231-5/+5
| | |
| * | Merge pull request #1234 from rabbitmq/rabbitmq-server-1224Michael Klishin2017-05-262-7/+27
| |\ \ | | | | | | | | Introduce a new config parameter, total_memory_available_override_value, to override total amount of memory available to the node
| | * | Missing comma in config exampleMichael Klishin2017-05-261-1/+1
| | | |
| | * | Use new config parameter total_memory_available_override_value to set total ↵Diana Corbacho2017-05-262-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | memory rabbitmq-server#1224 [#145450413]
* | | | Merge branch 'stable'Michael Klishin2017-05-256-1610/+71
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Conflicts: src/file_handle_cache.erl src/file_handle_cache_stats.erl src/rabbit_runtime_parameters.erl
| * | | Fix runtime parameter formatting.rabbitmq_v3_6_10Daniil Fedotov2017-05-231-2/+2
| | | | | | | | | | | | | | | | rabbit_misc:json_encode can return a list or a binary.
| * | | file_handle_cache: Move it from rabbitmq-server to rabbitmq-commonJean-Sébastien Pédron2017-05-192-1566/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module is generic enough and is used by the Erlang client. Moving it is the last step to resolve the interdependency between the Erlang client and the broker: with this change, the client only depends on rabbitmq-common! [#118490793]
| * | | rabbit_upgrade_functions: Turn off `export_all` warningJean-Sébastien Pédron2017-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | Erlang 20.x warns if `export_all` is set in a module by default. We need to turn the warning off.
| * | | file_handle_cache: Move RabbitMQ-specific functions to rabbit_fhc_helpersJean-Sébastien Pédron2017-05-192-32/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those are the functions to clear the read buffer cache in various internal RabbitMQ processes. file_handle_cache still reads the `fhc_read_buffering` and `fhc_write_buffering` rabbit application variables, though. Thus, this change almost removes a dependency of file_handle_cache on the broker. Reading the configuration variable is acceptable for now so this will allow us to move file_handle_cache to rabbitmq-common. [#118490793]
| * | | Move rabbit_memory_monitor:memory_use/1 to vm_memory_monitorJean-Sébastien Pédron2017-05-193-14/+19
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function is renamed to get_memory_use/1 in the process, to match other functions in the vm_memory_monitor module. The file_handle_cache uses that function. By moving it to vm_memory_monitor, we remove a dependency of file_handle_cache on a rabbit_* module. This will allow us to move both file_handle_cache and vm_memory_monitor to rabbitmq-common and help remove a dependency in the Erlang client on the broker because the former calls file_handle_cache:obtain/0. To sum up the situation before this commit with a graph: amqp_network_connection --[depends on]--> file_handle_cache (amqp_client) (rabbit) file_handle_cache --[depends on]--> rabbit_memory_monitor (rabbit) (rabbit) And the situation we want to reach after the move: amqp_network_connection --[depends on]--> file_handle_cache (amqp_client) (rabbit_common) file_handle_cache --[depends on]--> vm_memory_monitor (rabbit_common) (rabbit_common) rabbit_memory_monitor --[depends on]--> vm_memory_monitor (rabbit) (rabbit_common) [#118490793]
* | | DittoMichael Klishin2017-05-241-1/+1
| | |
* | | Avoid double quotes in this log entryMichael Klishin2017-05-241-1/+1
| | | | | | | | | | | | | | | ~p will enclose node name (an atom) in single quotes, which our message already has
* | | Format runtime parameters using info itemsDaniil Fedotov2017-05-241-4/+16
| | | | | | | | | | | | | | | | | | Runtime parameters list functions do not accept info items as arguments. To return correct number and items order in the new CLI parameters should be sorted by info items order.
* | | Use autocluster tag around peer_discovery_backend in MakefileDiana Corbacho2017-05-241-1/+3
| | |
* | | Merge branch 'binarin-dont-expand-dir-plugins-master'Michael Klishin2017-05-231-11/+34
|\ \ \
| * | | Naming, wordingMichael Klishin2017-05-231-5/+5
| | | |
| * | | Use plugins dist dir as primary source of truth about presen pluginsAlexey Lebedeff2017-05-221-2/+1
| | | | | | | | | | | | | | | | This is a 'master' counterpart for #1226
| * | | Merge 'dont-expand-dir-plugins-stable'Alexey Lebedeff2017-05-221-9/+33
| |\ \ \ |/ / / / | | | _
| * | Don't expand plugins that are already unpackedAlexey Lebedeff2017-05-221-9/+32
| |/ | | | | | | | | | | | | | | | | | | This prevents creating unnecessary files when running in embedded mode, and in development mode it keeps code path clean and compatible with different interactive tools. Also some new error conditions are properly handled and logged: - Failure to unpack an .ez-file - Missing .app file in plugin directory
* | Merge branch 'stable'Jean-Sébastien Pédron2017-05-162-149/+232
|\ \ | |/
| * Makefile: Load the new `rabbitmq-early-test.mk` early-stage pluginrabbitmq_v3_6_10_rc2Jean-Sébastien Pédron2017-05-161-0/+1
| | | | | | | | | | | | See the corresponding commit in rabbitmq-common for an explanation. [#144697185]
| * Update erlang.mkJean-Sébastien Pédron2017-05-161-149/+231
| |
* | Merge pull request #1220 from rabbitmq/rabbitmq-server-1216Michael Klishin2017-05-122-15/+20
|\ \ | | | | | | Revert "Use new supervisor2:prep_stop to stop rabbit dependencies on shutdown"