summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cosmetic refactoringbug19219Matthias Radestock2008-10-011-7/+7
|
* oopsMatthias Radestock2008-09-301-1/+1
|
* modulate gen_server:call timeout when doing work in parallelMatthias Radestock2008-09-302-50/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we fire off lots of gen_server:calls in parallel, we may create enough work for the VM to cause the calls to time out - since the amount of work that can actually be done in parallel is finite. The fix is to adjust the timeout based on the total workload. Alternatively we could not have any timeout at all, but that is bad Erlang style since a small error somewhere could result in stuck processes. I moved the parallelisation - and hence timeout modulation - from the channel into the amqqueue module, changing the API in the process - commit, rollback and notify_down now all operate on lists of QPids (and I've renamed the functions to make that clear). The alternative would have been to add Timeout params to these three functions, but I reckon the API is cleaner this way, particularly considering that rollback doesn't actually do a call - it does a cast and hence doesn't require a timeout - so in the alternative API we'd either have to expose that fact indirectly by not having a Timeout param, or have a bogus Timeout param, neither of which is particularly appealing. I considered making the functions take sets instead of lists, since that's what the channel code produces, plus sets have a more efficient length operation. However, API-wise I reckon lists are nicer, plus it means I can give a more precise type to dialyzer - sets would be opaque and non-polymorphic.
* Merged 19455 into defaultBen Hood2008-09-280-0/+0
|\
* | disable Naglebug19455Matthias Radestock2008-09-282-2/+6
|/
* merge bug19164 into defaultMatthias Radestock2008-09-110-0/+0
|\
* | cosmeticbug19164Matthias Radestock2008-09-111-7/+5
| |
* | cosmeticHubert Plociniczak2008-09-111-6/+8
| |
* | Use parse_status to correctly determineHubert Plociniczak2008-09-111-3/+4
| | | | | | | | the status of the node. No need to print node's apps.
* | Added status command to rabbit_mutli, init.d scriptsHubert Plociniczak2008-09-114-81/+141
|/ | | | | | | | | now use that command. Used status command in init.d scripts to check if the server is running before stopping it. Fixed various indentation problems in init.d scripts. Synchronized the init.d in Debian and RPM to behave in a similar way.
* merge bug19193 into defaultMatthias Radestock2008-09-100-0/+0
|\
* \ merge default into bug19193bug19193Hubert Plociniczak2008-09-1012-20/+41
|\ \ | |/
| * merge bug19166 into defaultMatthias Radestock2008-09-093-93/+111
| |\
| | * Start the RabbitMQ server after addingbug19166Hubert Plociniczak2008-09-091-0/+1
| | | | | | | | | | | | it to chkconfig.
| * | merge bug19144 into defaultMatthias Radestock2008-09-090-0/+0
| |\ \
| * | | Updated the license to reflect the current state.bug19144Hubert Plociniczak2008-09-091-3/+3
| |/ / | | | | | | | | | | | | Debian packaging has the same license as the broker itself.
| * | merge bug19200 into defaultMatthias Radestock2008-09-0811-18/+38
| |\ \
| | * | Removed dotHubert Plociniczak2008-09-041-1/+1
| | | |
| | * | Only debian/rules file needs to have exec permissionHubert Plociniczak2008-09-041-1/+1
| | | |
| | * | tabs -> spacesMatthias Radestock2008-08-292-2/+2
| | | |
| | * | merge bug17070 into defaultMatthias Radestock2008-08-2636-1014/+443
| | |\ \
| | | * \ merge bug19089 into defaultMatthias Radestock2008-08-1428-999/+407
| | | |\ \
| | | * | | SCRIPT_HOME variable in windows points to thebug19089Hubert Plociniczak2008-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | directory of the rabbitmq-multi.bat script
| | | * | | Use %~dp0 to find the ebin directory under windowsHubert Plociniczak2008-07-293-3/+3
| | | | | |
| | | * | | Use dirname $0 consistently to find the ebin dir.Tony Garnock-Jones2008-07-293-3/+3
| | | | | |
| | * | | | support default empty AMQP tablesbug17070Matthias Radestock2008-08-261-1/+10
| | | | | |
| | * | | | fixed bug in emitting erlang binary stringKarol Skocik2008-08-261-1/+1
| | | | | |
| | * | | | added mapping which decides how to convert Python value to Erlang default valueKarol Skocik2008-08-081-1/+9
| | | | | |
| | * | | | Migrate branch bug17070Tony Garnock-Jones2008-07-031-7/+10
| | | | | |
* | | | | | Refactoring of call_all_nodes/1Hubert Plociniczak2008-09-101-28/+18
| | | | | |
* | | | | | Use lists:foreach instead of tail recursionHubert Plociniczak2008-09-102-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in rotate_logs command. Updated usage function() Reverted change in rabbitmq-server.spec that didn't belong to this bug.
* | | | | | Continue rotate_logs command even whenHubert Plociniczak2008-09-091-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the command on specific node returns an error. Display the error message in that case only.
* | | | | | Fixed various QA remarks.Hubert Plociniczak2008-09-094-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed rotate_logs_all to rotate_logs. logrotate will fail silently to logrotate if calling rotate_logs on any of the logs failed.
* | | | | | Return value of the RETVAL variable in init.dHubert Plociniczak2008-09-091-1/+1
| | | | | |
* | | | | | Renamed startup.log, .err to startup_log, _errHubert Plociniczak2008-09-092-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid logrotation problems. This also removes the problem when the node is called startup. Same situation for shutdown logs.
* | | | | | Merge bug19200 into bug19193Hubert Plociniczak2008-09-0513-104/+204
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Logrotate script calls init.d script insteadHubert Plociniczak2008-08-274-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | of calling rabbitmq-multi directly
| * | | | | Update man pages with rotate_logs_all commandHubert Plociniczak2008-08-271-0/+3
| | | | | |
| * | | | | Added rotate_logs_all command to rabbitmq_multi.Hubert Plociniczak2008-08-273-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | logrotate uses this command to correctly swap handlers on all nodes.
| * | | | | Merged bug19200 into bug19193Hubert Plociniczak2008-08-276-65/+219
| |\ \ \ \ \
| * \ \ \ \ \ Merge bug19200 into bug19193Hubert Plociniczak2008-08-199-95/+145
| |\ \ \ \ \ \
| | * | | | | | Use postrotate script to reopen logs andHubert Plociniczak2008-08-143-28/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sharedscripts option in logrotate. Removed .bak mechanism from linux/unix distros.
| | * | | | | | Merge bug19200 into bug19193Hubert Plociniczak2008-08-1422-986/+146
| | |\ \ \ \ \ \
| | * | | | | | | Added logrotate script to debian and rpm packagesHubert Plociniczak2008-08-137-3/+48
| | | |_|_|_|_|/ | | |/| | | | |
| | * | | | | | Merge bug17940 into bug19166Hubert Plociniczak2008-08-127-150/+115
| | |\ \ \ \ \ \
| | * | | | | | | Added required commands to the init.d scriptHubert Plociniczak2008-08-083-93/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for rpm packages. Fixed various things in the spec file for rpm and made it more consistent with approved packaging guidelines.
* | | | | | | | | Removed catch in append_file/2 since therebug19200Hubert Plociniczak2008-09-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is nothing to catch.
* | | | | | | | | Reverted changes that accidentally got committedHubert Plociniczak2008-09-042-8/+7
| | | | | | | | |
* | | | | | | | | Added tests to cover the changes made in last commitHubert Plociniczak2008-09-043-10/+17
| | | | | | | | |
* | | | | | | | | Perform standard handler installation when originalHubert Plociniczak2008-09-042-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handler was not installed correcly or terminated with an error.