| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | | |
|
| | |\
| |/
|/|
| |
| | |
Conflicts:
Makefile
|
| | |
| |
| |
| |
| |
| | |
There were accidentaly removed in f67c055e1e2a1931c0a84e1e271573b7abdf2877.
[#127356157]
|
| | | |
|
| | |
| |
| |
| | |
[#127356157]
|
| | | |
|
| |\ \
| | |
| | | |
Create el6 and el7 rpm packages
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \
| | | |
| | | | |
Move mochium to rabbitmq-common
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
manually expand some rpm macros that do not get expanded when packaging on debian
set _unitdir for rhel7
|
| | | |\ \
| | | | |
| | | | |
| | | | | |
git://github.com/harlowja/rabbitmq-server into harlowja-systemd-fedora-usage-and-tmpfiles
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add support for systemd usage (vs sysvinit) on versions of fedora
and supporting versions of centos/rhel (newer than or equal to 7).
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
... while known failures are being investigated. This should unblock
downstream tasks in Concourse.
References #889.
[#126767013]
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
References #889.
[#126767013]
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
References #889.
[#126767013]
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We must query the queue master PID before each check and handle `badrpc`
if the process disappeared.
References #889.
[#126767013]
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
References #889.
[#126767013]
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes some false positives.
References #889.
[#126767013]
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
... instead of raising an exit signal.
While here, use ct:pal/3 as the output function for PropEr, not
io:format/3. This ensures common_test knows the origin of the message
and that it's expected.
[#126767013]
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |_|_|/
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Perform partition checks from OCF HA script
|
| | | | | | |
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Partitioned nodes are ordered to restart by master. It may sound like
`autoheal`, but the problem is that OCF script and `autoheal` are not
compatible because concepts of master in pacemaker and winner in
autoheal are completely unrelated.
|
| |\ \ \ \
| |/ / /
|/| | | |
Docs: Default AMQP heartbeat delay should be 60 seconds in rabbitmq.config.example
|
| |/ / / |
|
| |\ \ \ |
|
| | | | | |
|
| | | | | |
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| |_|/ /
|/| | | |
Use new rabbitmqctl features for monitoring
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This will stop wasting network bandwidth for monitoring.
E.g. a 200-node OpenStack installation produces aronud 10k queues and
10k channels. Doing single list_queues/list_channels in cluster in this
environment results in 27k TCP packets and around 12 megabytes of
network traffic. Given that this calls happen ~10 times a minute with 3
controllers, it results in pretty significant overhead.
To enable those features you shoud have rabbitmq containing following
patches:
- https://github.com/rabbitmq/rabbitmq-server/pull/883
- https://github.com/rabbitmq/rabbitmq-server/pull/911
- https://github.com/rabbitmq/rabbitmq-server/pull/915
|
| |\ \ \
| | | |
| | | | |
[OCF HA] Change master score computation & split-brain detection logic
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previous split brain logic worked as follows: each slave checked
that it is connected to master. If check fails, slave restarts. The
ultimate flaw in that logic is that there is little guarantee that
master is alive at the moment. Moreover, if master dies, it is very
probable that during the next monitor check slaves will detect its
death and restart, causing complete RabbitMQ cluster downtime.
With the new approach master node checks that slaves are connected to
it and orders them to restart if they are not. The check is performed
after master node health check, meaning that at least that node
survives. Also, orders expire in one minute and freshly started node
ignores orders to restart for three minutes to give cluster time to
stabilize.
Also corrected the problem, when node starts and is already clustered.
In that case OCF script forgot to start the RabbitMQ app, causing
subsequent restart. Now we ensure that RabbitMQ app is running.
The two introduced attributes rabbit-start-phase-1-time and
rabbit-ordered-to-restart are made private. In order to allow master
to set node's order to restart, both ocf_update_private_attr and
ocf_get_private_attr signatures are expanded to allow passing
node name.
Finally, a bug is fixed in ocf_get_private_attr. Unlike crm_attribute,
attrd_updater returns empty string instead of "(null)", when an
attribute is not defined on needed node, but is defined on some other
node. Correspondingly changed code to expect empty string, not a
"(null)".
This fix is a fix for Fuel bugs
https://bugs.launchpad.net/fuel/+bug/1559136
https://bugs.launchpad.net/mos/+bug/1561894
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Right now we assign 1000 to the oldest nodes and 1 to others. That
creates a problem when Master restarts and no node is promoted until
that node starts back. In that case the returned node will have score
of 1, like all other slaves and Pacemaker will select to promote it
again. The node is clean empty and afterwards other slaves join to
it, wiping their data as well. As a result, we loose all the messages.
The new algorithm actually ranks nodes, not just selects the oldest
one. It also maintains the invariant that if node A started later
than node B, then node A score must be smaller than that of
node B. As a result, freshly started node has no chance of being
selected in preference to older node. If several nodes start
simultaneously, among them an older node might temporarily receive
lower score than a younger one, but that is neglectable.
Also remove any action on demote or demote notification - all of
these duplicate actions done in stop or stop notification. With these
removed, changing master on a running cluster does not affect RabbitMQ
cluster in any way - we just declare another node master and that is
it. It is important for the current change because master score might
change after initial cluster start up causing master migration from
one node to another.
This fix is a prerequsite for fix to Fuel bugs
https://bugs.launchpad.net/fuel/+bug/1559136
https://bugs.launchpad.net/mos/+bug/1561894
|
| |/ /
| |
| |
| | |
* Also solves deadlocks when leader aborts autoheal in node down
|
| |\ \ |
|
| | | | |
|
| | |\ \
| | | |
| | | |
| | | | |
https://github.com/Ayanda-D/rabbitmq-server into Ayanda-D-rabbitmq-server-914
|
| | | | |
| | | |
| | | |
| | | | |
dead pids from queue
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
from the gm process' neighbours
|
| |\ \ \ \
| |/ / /
|/| | | |
[OCF HA] Add ocf_get_private_attr function to RabbitMQ OCF script
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
The function is extracted from check_timeouts to be re-used later
in other parts of the script. Also, swtich check_timeouts to use
existing ocf_update_private_attr function.
|
| |\ \ \
| | | |
| | | | |
Fix bashisms in rabbitmq OCF RA
|