summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adds get_queue_master_per_binding/3 handle all clause, to handleAyanda Dube2016-01-051-1/+3
| | | | | | exchange type bindings, for example. References #521
* Update (c) infoMichael Klishin2016-01-0195-95/+95
|
* Merge pull request #525 from bogdando/bug/1530150Michael Klishin2015-12-311-20/+39
|\ | | | | Ensure rabbit node uptime is reset in the CIB for OCF resource
| * Ensure rabbit node uptime is reset in the CIB for OCF resourceBogdan Dobrelya2015-12-311-20/+39
|/ | | | | | | | | | | | | | | | | | | | | | * Add ocf_run wrappers and info log messages for CIB attribute events * Move "fast" CIB attribute updates before "heavy" operations like start/stop/wait to ensure CIB consistent even if the timeouts exceeded for the ops * Delete master and start time attributes from CIB on action_start to ensure the correct rabbit nodes uptime evaluation for new master elections for corresponding pacemaker resources * For post-demote notify and action_demote() delete the master attribute from CIB as well. * For post-start notify, update the start time in the CIB even when the node is already clustered. Otherwise it would remain running in cluster w/o the start time registered, which affects the new master elections badly. * fix wrong log message when joining by a node Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1530150 https://bugs.launchpad.net/fuel/+bug/1530296 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
* Merge pull request #523 from bogdando/bug/1529897Michael Klishin2015-12-301-50/+195
|\ | | | | Fix stop conditions for the rabbit OCF resource
| * Fix stop conditions for the rabbit OCF resourceBogdan Dobrelya2015-12-301-50/+195
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix the get_status() unexpectedly reports generic error instead of "not running" * Add proc_stop and proc_kill functions (TODO these shall go as external common ocf heplers, eventually) * Rework stop_server_process() - make it to return SUCCESS/ERROR as expected - grant the "rabbitmqctl stop" a graceful termintation window and only then ensure the beam process termination and pidfile removal as well - return the actual status with get_status() * Rework kill_rmq_and_remove_pid() - use proc_stop to try to kill by pgrp with -TERM, then -KILL, or by the beam process name match, if there is no PID. - make it to returns SUCCESS/ERROR * Fix action_stop() - fail early by the stop_server_process() results without additional rabbitmqctl invocations in the get_status() call - rework hard-coded sleep 10 to use the gracefull stop windows in the stop_server_process() instead - ensure the rabbit-start-time removal from CIB before to try to stop the server process - issue the "stop: action end" log record before the actual end * Add comments and make logs to be more informational Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1529897 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com> Co-authored-by: Alex Schultz <aschultz@mirantis.com>
* WordingMichael Klishin2015-12-301-2/+2
|
* indent with emacsDaniil Fedotov2015-12-301-22/+28
|
* Hint to stop_app if mnesia is running but should notDaniil Fedotov2015-12-301-20/+27
|
* Proper error reportDaniil Fedotov2015-12-301-6/+10
|
* Hint to stop_app when running rabbitmqctl resetDaniil Fedotov2015-12-301-2/+14
|
* Merge pull request #516 from rabbitmq/rabbitmq-server-328Michael Klishin2015-12-301-1/+5
|\ | | | | Adds exception handling to rabbit_vm:bytes/1
| * Changes rabbit_vm:bytes/1 to return 0 on exceptionAyanda Dube2015-12-241-1/+1
| | | | | | | | References #328
| * Adds try-catch block and returns error on exceptionAyanda Dube2015-12-241-1/+5
| | | | | | | | Fixes #328
* | .gitignore: make absolute paths relativePierre Fenoll2015-12-281-27/+27
| |
* | Merge branch 'stable' into rabbitmq-server-485Michael Klishin2015-12-24182-22432/+12290
|\ \
| * | purge may crash in lazy queue(3.6.0)shawnsli2015-12-231-3/+9
| | |
| * | Sync RPM package description with DebianMichael Klishin2015-12-231-3/+1
| |/
| * packaging: Always use xzcat(1) to decompress xz archiverabbitmq_v3_6_0Jean-Sébastien Pédron2015-12-223-3/+3
| | | | | | | | | | Do not rely on tar's behaviour. It was already done everywhere except in those three places.
| * packaging: tar `-n` is not portable, use --no-recursion insteadJean-Sébastien Pédron2015-12-222-2/+4
| |
| * Commit Debian and RPM change log entriesMichael Klishin2015-12-222-0/+9
| |
| * packaging: Deorbit macports packageJean-Sébastien Pédron2015-12-225-234/+0
| |
| * packaging/debian: Update list of files removed in `make clean`Jean-Sébastien Pédron2015-12-221-2/+2
| |
| * Fix build: the produced archive is now compressed with xz(1)Jean-Sébastien Pédron2015-12-221-2/+2
| |
| * packaging/generic-unix: Produce tar.xz archiveJean-Sébastien Pédron2015-12-221-1/+2
| | | | | | | | | | Also, files are sorted in the tar. This is now consistent with other produced archives.
| * Merge pull request #509 from rabbitmq/rabbitmq-server-508Michael Klishin2015-12-211-0/+3
| |\ | | | | | | Distribute event-exchange, recent-history-exchange and sharding
| | * Distribute event-exchange, recent-history-exchange and shardingJean-Sébastien Pédron2015-12-211-0/+3
| |/ | | | | | | Fixes #508.
| * packaging/generic-unix: Create web manpagesJean-Sébastien Pédron2015-12-211-1/+3
| | | | | | | | | | They are not used by the generic Unix archive, but by `make release` in the Umbrella: they are needed by the website.
| * Merge pull request #507 from rabbitmq/rabbitmq-server-506Michael Klishin2015-12-211-9/+22
| |\ | | | | | | Datetime in rabbit_diagnostics
| | * Datetime in rabbit_diagnosticsDaniil Fedotov2015-12-211-9/+22
| |/
| * Update erlang.mkJean-Sébastien Pédron2015-12-181-63/+63
| |
| * Sync with upstream build.configJean-Sébastien Pédron2015-12-181-1/+1
| |
| * Update rabbitmq-components.mkJean-Sébastien Pédron2015-12-181-46/+57
| |
| * Update rabbitmq-components.mkMichael Klishin2015-12-181-2/+2
| |
| * Tell travis to wait for long-running tests.Daniil Fedotov2015-12-181-1/+1
| |
| * Merge pull request #503 from rabbitmq/rabbitmq-server-368Michael Klishin2015-12-171-0/+4
| |\ | | | | | | GM: Ignore 'DOWN' when the ring is going down
| | * GM: Ignore 'DOWN' when the ring is going downJean-Sébastien Pédron2015-12-171-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow-up commit to ed276656. This fixes the following crash: =ERROR REPORT==== 18-Oct-2015::00:51:30 === ** Generic server <0.966.0> terminating ** Last message in was {'DOWN',#Ref<0.0.3.4250>,process,<21148.716.0>, shutdown} ** When Server state == {state, ... {true,{shutdown,ring_shutdown}}} ** Reason for termination == ** {function_clause,[{orddict,fetch, [{1,<0.966.0>},[]], [{file,"orddict.erl"},{line,80}]}, {gm,check_neighbours,1,[{file,"src/gm.erl"},{line,1243}]}, Submitted by Alvaro Videla (@videlalvaro). Fixes #368.
| * Trigger a new Travis buildMichael Klishin2015-12-161-0/+1
| |
| * Merge branch 'stable'Michael Klishin2015-12-152-0/+9
| |\
| * \ Merge branch 'rabbitmq-server-484'Michael Klishin2015-12-150-0/+0
| |\ \
| | * | HIPE compilation moved to rabbit_hipe moduleDaniil Fedotov2015-12-142-99/+102
| | | |
| * | | HIPE compilation moved to rabbit_hipe moduleDaniil Fedotov2015-12-152-99/+102
| | | |
| * | | Merge branch 'stable'Michael Klishin2015-12-150-0/+0
| |\ \ \
| * \ \ \ Merge pull request #496 from rabbitmq/rabbitmq-server-255Michael Klishin2015-12-141-1/+3
| |\ \ \ \ | | | | | | | | | | | | Ignore unknown channel acks in queue
| | * \ \ \ Merge branch 'master' into rabbitmq-server-255Michael Klishin2015-12-1422-13/+171
| | |\ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'stable'Jean-Sébastien Pédron2015-12-144-3/+3
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'stable'Jean-Sébastien Pédron2015-12-143-2/+6
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | Add Travis CI configurationrabbitmq_v3_6_0_rc3Jean-Sébastien Pédron2015-12-141-0/+24
| | | | | | |
| * | | | | | rabbitmq-server.bat: Honor $RABBITMQ_ALLOW_INPUTJean-Sébastien Pédron2015-12-141-2/+4
| | | | | | |
| * | | | | | Disable erl_crash.dump in rabbitmqctl and rabbitmq-pluginsJean-Sébastien Pédron2015-12-144-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Crash dumps are disabled by default only: if the user set $ERL_CRASH_DUMP_SECONDS, his setting is honored.