| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
To accommodate changes made in rabbitmq/rabbitmq-common#201.
|
| |\
| |
| | |
Don't expand plugins that are already unpacked
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| | |
| | | |
Introduce a new config parameter, total_memory_available_override_value, to override total amount of memory available to the node
|
| | | | |
|
| | |/
| |
| |
| |
| |
| |
| | |
memory
rabbitmq-server#1224
[#145450413]
|
| | |
| |
| |
| | |
rabbit_misc:json_encode can return a list or a binary.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| | |
| |
| |
| |
| | |
Erlang 20.x warns if `export_all` is set in a module by default. We need
to turn the warning off.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
| |
See the corresponding commit in rabbitmq-common for an explanation.
[#144697185]
|
| | |
|
| |
|
|
| |
per discussion with @gerhard.
|
| |\
| |
| | |
Check rabbit is running after the boot process finishes
|
| | |
| |
| |
| |
| |
| | |
Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>
[#145043957]
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Lower mnesia_table_loading_retry_timeout so test suite will be faster.
Add mnesia_table_loading_retry_limit so that we test retries.
Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>
re #1214
[Finishes #145043957]
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Boot process can exit if boot fails. It can result in
rabbit:await_startup/0 returning ok & rabbitmqctl wait exiting with exit
status 0.
WIP, still need to add some tests.
Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>
re #1214
[#145043957]
|
| |
|
|
| |
Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>
|
| |\
| |
| | |
Test single slave restart after forget_cluster_nodes in offline mode
|
| | |
| |
| |
| |
| | |
While "Removee" is clear and to the point, some may conclude
that it is a typo (supposed to be "Remove").
|
| | |
| |
| |
| |
| | |
rabbitmq-server#1213
[#145084865]
|
| |\ \
| |/
|/|
| |
| | |
binarin/more-defaulting-for-plugins-expand-dir-stable
Use plugins expand dir with default fallback value
|
| |/
|
|
| |
In addition to #1134
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Debian-like distributions, `/bin/sh` defaults to `/bin/dash` which
has a bug with signal handlers.
In the case of Dash, it looks like `set -e` (set at the beginning of
this script) gets precedence over signal handling. Therefore, when
`wait` is interrupted, its exit code is non-zero and because of `set
-e`, the script terminates immediately without running the signal
handler. To work around this issue, we use `|| true` to force that
statement to succeed and the signal handler to properly execute.
Replace the use of `-e` on the shebang line by a standalone `set -e`,
like other scripts. This way, the script behavior remains the same if
the script is started as an argument to a shell. For instance:
bash ./rabbitmq-server
Bump the copyright year to 2017.
Signed-off-by: Patrick Sodré <sodre@sodre.co>
Fixes #1192.
|
| |\
| |
| | |
Support integers in memory relative free disk space limits
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
This reverts commit d58b61335591d1dafc7e2adabf85f09fbce9168e.
Actually, 1.0+ values should be fine since the value is relative to the
total amount of available RAM.
|
| | | |
|
| | |
| |
| |
| |
| | |
rabbitmq-server#1194
[#144271963]
|
| |\ \
| |/
|/| |
Makefile: Fix malformed manpages with GNU sed
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The generated manpage contains malformed .HP directives:
.HP \w'\fBstop\fR\ 'u \fBstop\fR [\fIpid_file\fR]
The .HP directive takes one argument, the indentation. Thus, the first
line (which is not indented) should be on the next line:
.HP \w'\fBstop\fR\ 'u
\fBstop\fR [\fIpid_file\fR]
Manpages will be converted to mdoc(7) in master so we are sure of
the formatting. The DocBook versions will be dropped. This will also
simplify the build process.
References #1180.
[#143563295]
|
| | |
|
| |\
| |
| | |
Re-enable disk_monitor in case of parser failures
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Parser failures could be transient on start-up, so retry a few times
before giving up.
rabbitmq-server#1178
[#143558437]
|
| | |
| |
| |
| |
| |
| |
| | |
This makes sure that we try to stop an erlang app even if an exception
is thrown during logging in the "after" block.
Otherwise there is an inconsistency between "failed and the erlang node will stop"
and "failed, but the erlang node will not stop"
|
| |\ \
| |/
|/| |
Make queue master locator treat queue args as AMQP table.
|
| |/
|
|
|
| |
Fixes #1172
Tests were using incorrect format for queue args as well as the code.
|
| | |
|
| |
|
|
|
|
| |
Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>
[#142699191]
|
| |\
| |
| | |
Add more info during rabbitmqctl shutdown
|
| | |\
| |/
|/| |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
trivial change
|