summaryrefslogtreecommitdiff
path: root/src/rabbit_misc.erl
Commit message (Collapse)AuthorAgeFilesLines
* Also be more explicit about what we don't like; don't just dump out the ↵bug26449Simon MacMullen2014-11-031-2/+2
| | | | entire table.
* If we don't know what else to do, at least don't garble binaries.Simon MacMullen2014-11-031-2/+2
|
* Separate out different is_process_alive implementations depending on whether ↵bug26408Simon MacMullen2014-10-101-2/+7
| | | | we want to consider the process alive if it is running but we can't talk to it via Mnesia. Thus unbreak exclusive queues with the direct client from non-Rabbit nodes.
* Make rabbit_misc:is_process_alive() return false for nodes we are ↵Simon MacMullen2014-10-091-3/+2
| | | | partitioned from; prevent prequeue:init/1 from entering an infinite loop on partition.
* Work around Surstr?mming-addled ideas about how to report version numbers.bug26387Simon MacMullen2014-09-241-1/+16
|
* Switch to Erlang 17-style types, /0 versions at least.Simon MacMullen2014-09-171-7/+8
|
* Specs for the spec god!Simon MacMullen2014-09-171-1/+4
|
* Extract commonality between rabbit_control_main and rabbit_plugins_main.Simon MacMullen2014-09-161-66/+0
|
* Merge in defaultSimon MacMullen2014-09-151-9/+22
|\
| * Quotes.Simon MacMullen2014-09-101-5/+4
| |
| * Sensible errors on queue durable / auto_delete inequivalence.Simon MacMullen2014-09-101-9/+23
| |
* | OopsSimon MacMullen2014-09-091-1/+1
| |
* | Introduce the idea that queues can be absent for a reason. The traditional ↵Simon MacMullen2014-09-091-4/+9
|/ | | | | | absent reason is 'nodedown' and we have a new reason, 'crashed', for when crash recovery has failed and the supervisor has given up. An absent crashed queue is nearly the same as an absent nodedown queue, but we allow for deleting it since it can't be recovered by bringing a node back up. Currently absent crashed queues are not handled properly by mgmt (they appear to still be there); we might defer that to bug 26151.
* stable to defaultSimon MacMullen2014-08-211-43/+51
|\
| * Further simplify logging. Get rabbit_log to figure out whether the group ↵bug26345Simon MacMullen2014-08-141-20/+0
| | | | | | | | leader switcheroo is needed, rather than leaving it up to the caller. We now have one logging API. Woot!
| * Remove a ton of special-case error_logger invocationsSimon MacMullen2014-08-111-3/+3
| |
| * Fix type error (introed in 24926 I think) spotted by Dialyzer.Simon MacMullen2014-08-081-2/+2
| |
| * stable to defaultSimon MacMullen2014-07-281-1/+6
| |\
| * \ Merge bug26255Simon MacMullen2014-06-271-0/+7
| |\ \
| | * | More descriptive name.bug26255Simon MacMullen2014-06-271-3/+3
| | | |
| | * | os:timestamp/1 return parts can be 0Michael Klishin2014-06-251-3/+3
| | | |
| | * | Add spec for rabbit_misc:timestamp/1Michael Klishin2014-06-251-0/+3
| | | |
| | * | Move timestamp formatting fn to rabbit_miscMichael Klishin2014-06-251-0/+4
| | | |
| * | | Promote down slave to master if the master gets forgotten.bug26254Simon MacMullen2014-06-191-1/+6
| |/ /
| * | Merge in defaultSimon MacMullen2014-06-051-12/+13
| |\ \
| | * \ Merge default into bug24926Tim Watson2014-04-111-0/+13
| | |\ \
| | * | | If we refactor rabbit_misc:build_acyclic_graph so that we don't assume the ↵Simon MacMullen2014-03-191-4/+4
| | | | | | | | | | | | | | | | | | | | arity of the functions we pass in, then it's easy to build the complete graph then filter it by application, rather than the other way round - avoiding rather a lot of work.
| | * | | Merge default into bug24926Tim Watson2014-03-181-8/+9
| | |\ \ \
| | | * | | Refactor (inline a little bit more)Tim Watson2014-03-171-29/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | app_utils:which_applications/0 => inlined, rabbit_misc:all_module_attributes{_with_app} => unified
| | | * | | Merge default into bug24926Tim Watson2014-03-131-7/+27
| | | |\ \ \
| | | | * \ \ merge default into bug24926Tim Watson2014-02-111-7/+27
| | | | |\ \ \
| | | | | * | | Refactor - remove unused functions/comments/todosTim Watson2014-01-121-29/+12
| | | | | | | |
| | | | | * | | Merge default into bug24926Tim Watson2014-01-121-0/+6
| | | | | |\ \ \
| | | | | * | | | De-duplicate dependency/graph building functionsTim Watson2013-11-261-8/+27
| | | | | | | | |
| | | | | * | | | Refactor (de-duplicate) module attribute searchTim Watson2013-11-201-16/+17
| | | | | | | | |
| | | | | * | | | Various boot procedure improvementsTim Watson2013-11-201-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We ensure that all dependent applications are stopped, but also that dependencies shared by multiple applications (e.g., amqp_client) are not.
| | | | | * | | | Restructure our boot procedure for more flexible boot-step handlingTim Watson2013-11-051-7/+9
| | | | | | | | |
| * | | | | | | | Merge bug26204Simon MacMullen2014-05-301-7/+22
| |\ \ \ \ \ \ \ \
| | * | | | | | | | I think we've determined that we don't need that check.bug26204Simon MacMullen2014-05-301-4/+2
| | | | | | | | | |
| | * | | | | | | | OopsSimon MacMullen2014-05-231-1/+1
| | | | | | | | | |
| | * | | | | | | | Support long timers.Simon MacMullen2014-05-231-4/+21
| | | |_|_|_|_|/ / | | |/| | | | | |
| * | | | | | | | updates intercept callback typeAlvaro Videla2014-04-211-1/+1
| |/ / / / / / /
* | | | | | | | Rename boolean to reuse / single.bug25214Simon MacMullen2014-08-211-1/+1
| | | | | | | |
* | | | | | | | Make Mnesia tx worker pool jobs use a disposable process so that if ↵Simon MacMullen2014-08-211-1/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | mnesia_locker decides to randomly send a message there later it will just get dropped and not cause chaos.
* | | | | | | Explainbug25921Simon MacMullen2014-07-251-0/+3
| | | | | | |
* | | | | | | Don't allow rabbit_misc:is_process_alive/1 to hang indefinitely if a node is ↵Simon MacMullen2014-07-251-1/+3
|/ / / / / / | | | | | | | | | | | | | | | | | | incommunicado; we use this in rabbit_amqqueue:on_node_down/1 in a loop!
* | | | | | Explain this formula.Simon MacMullen2014-03-311-0/+13
|/ / / / /
* | | | | Merge bug25722Simon MacMullen2014-03-181-3/+5
|\ \ \ \ \
| * | | | | Just in case the error is not an atom.Simon MacMullen2014-03-121-1/+1
| | | | | |
| * | | | | Since we always show the raw error and the expanded error let's get ↵Simon MacMullen2014-03-121-3/+5
| |/ / / / | | | | | | | | | | | | | | | format_inet_error to do that.