summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* implemented rabbit_misc:pmerge to manage default values in proplistsGiuseppe Privitera2015-09-032-1/+15
|
* Merge branch 'stable'Michael Klishin2015-09-011-16/+23
|\
| * Merge pull request #292 from rabbitmq/rabbitmq-server-291Michael Klishin2015-09-011-16/+23
| |\ | | | | | | fetches IndexMaxSize at BQ init time
| | * fetches IndexMaxSize at BQ init timeAlvaro Videla2015-09-011-16/+23
| | | | | | | | | | | | Fixes #291
* | | Merge stable into masterMichael Klishin2015-08-3110-62/+101
|\ \ \ | |/ /
| * | Reduce distance between rabbitmq-service.bat and -server.batMichael Klishin2015-08-311-2/+2
| | |
| * | Use RABBITMQ_BOOT_MODULE in rabbitmq-service.bat, tooMichael Klishin2015-08-311-1/+1
| | |
| * | More humble descriptionMichael Klishin2015-08-311-1/+1
| | |
| * | GoPivotal => Pivotal Software in a few more placesMichael Klishin2015-08-318-10/+10
| |/
| * Merge pull request #283 from rabbitmq/rabbitmq-server-227Michael Klishin2015-08-281-48/+87
| |\ | | | | | | Converts journal entries in place.
| | * Converts journal entries in place.Alvaro Videla2015-08-241-48/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of folding over the whole journal when we flush it to disk, it might be better to convert the journal entries to their final disk format, to avoid folding over 65k journal entries. Of course this approach uses more memory. Fixes #227
| * | Merge pull request #286 from rabbitmq/rabbitmq-server-284Michael Klishin2015-08-277-18/+176
| |\ \ | | | | | | | | Makes CREDIT_DISC_BOUND and IO_BATCH_SIZE configurable
| | * | Makes CREDIT_DISC_BOUND and IO_BATCH_SIZE configurableAlvaro Videla2015-08-277-18/+176
| | | | | | | | | | | | | | | | Fixes #284
| * | | Merge pull request #281 from rabbitmq/rabbitmq-server-279Alvaro Videla2015-08-262-2/+3
| |\ \ \ | | |/ / | |/| | Reduce default QI journal size
| | * | Restore a commentMichael Klishin2015-08-261-0/+1
| | | |
| | * | Restore SEGMENT_ENTRY_COUNT, lower QI journal size but not as muchMichael Klishin2015-08-242-2/+2
| | | | | | | | | | | | | | | | | | | | This preserves index recovery but still reduces journal size by a noticeable amount.
| | * | Reduce default QI journal sizeMichael Klishin2015-08-222-2/+2
| | |/ | | | | | | | | | References #279, see #227 for background info.
| * | Merge pull request #285 from rabbitmq/rabbitmq-server-282Michael Klishin2015-08-251-2/+16
| |\ \ | | |/ | |/| Force essential listen socket options
| | * Force essential listen socket optionsMichael Klishin2015-08-251-2/+16
| |/ | | | | | | Taken from Ranch, plus forces nodelay.
* | Boot steps: Ensure boot step's module is loadedJean-Sébastien Pédron2015-08-281-0/+1
| | | | | | | | ... before checking if the function is exported.
* | Merge stable into masterMichael Klishin2015-08-279-22/+196
| |
* | rabbitmq-script-wrapper: Use '=', not '==' with Bourne shell's testJean-Sébastien Pédron2015-08-241-1/+1
| |
* | Merge branch 'stable'Michael Klishin2015-08-191-1/+6
|\ \ | |/
| * Merge pull request #277 from nishan/stableMichael Klishin2015-08-191-1/+6
| |\ | | | | | | On Linux, use -r option for 'sed'. -E is not present in versions earlier versions of 'sed'
| | * On Linux, use -r option for 'sed'. -E is not present in versions earlier ↵Nishan Naseer2015-08-191-1/+6
| |/ | | | | | | versions of 'sed'
* | Merge branch 'stable'Alvaro Videla2015-08-181-2/+9
|\ \ | |/
| * Merge pull request #269 from erylee/stableAlvaro Videla2015-08-181-2/+9
| |\ | | | | | | issue #268 - gen_server2 can fail to dispatch messages sent by a process to itself
| | * issue #268 - gen_server2 can fail to dispatch messages sent by a process to ↵Feng Lee2015-08-161-2/+9
| |/ | | | | | | itself
* | Merge branch 'stable'Jean-Sébastien Pédron2015-08-131-1/+17
|\ \ | |/
| * Fix versions comparison to work on Mac OS X tooJean-Sébastien Pédron2015-08-131-1/+17
| | | | | | | | | | `sort -V` is indeed not portable. The new method is based on awk, hopefully a portable portion of the language!
* | Merge branch 'stable'Jean-Sébastien Pédron2015-08-131-7/+9
|\ \ | |/
| * Makefile: Resolve $(USE_PROPER_QC) only when neededJean-Sébastien Pédron2015-08-131-1/+1
| |
| * Makefile: Use `erl -version` to do ERTS version testsJean-Sébastien Pédron2015-08-131-6/+8
| | | | | | | | This is way faster than starting a full VM.
* | Merge branch 'stable'Jean-Sébastien Pédron2015-08-120-0/+0
|\ \ | |/
| * Add `ssl_compat` and `time_compat`Jean-Sébastien Pédron2015-08-122-0/+380
| | | | | | | | | | They are not meant to be used by the Core. Their goal is to simplify the development of plugins which must support RabbitMQ 3.5.x and 3.6.x+.
* | Merge branch 'rabbitmq-server-233'Jean-Sébastien Pédron2015-08-113-2/+8
|\ \
| * | erlang:phash2/1 returns a value in the range 0..Range-1Jean-Sébastien Pédron2015-08-111-1/+1
| | | | | | | | | | | | ... but lists:nth/2 takes a position in the range 1..Length.
| * | Avoid division by 0Jean-Sébastien Pédron2015-08-112-1/+7
| | | | | | | | | | | | | | | | | | | | | erlang:monotonic_time() does not strictly increase: two subsequent calls can return the same value. References #233.
* | | Merge branch 'stable'Jean-Sébastien Pédron2015-08-112-5/+7
|\ \ \ | | |/ | |/|
| * | Merge branch 'rabbitmq-server-234' into stableJean-Sébastien Pédron2015-08-111-4/+2
| |\ \
| | * | rabbitmq-server: Don't catch EXIT "signal"Jean-Sébastien Pédron2015-08-111-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only reason for the script to terminate is that RabbitMQ exited. By trying to stop it again in the EXIT signal handler, we could stop a newer instance of RabbitMQ. This caused the testsuite to fail in an unexpected way. References #234.
| * | | make stop-node: Stop the node synchronouslyJean-Sébastien Pédron2015-08-111-1/+5
| | | | | | | | | | | | | | | | ... ie. wait for the process to actually exit.
* | | | Merge branch 'stable'Jean-Sébastien Pédron2015-08-101-28/+68
|\ \ \ \ | |/ / /
| * | | Merge pull request #258 from rabbitmq/rabbitmq-server-234Jean-Sébastien Pédron2015-08-101-28/+68
| |\ \ \ | | |/ / | | | | rabbitmq-server: Catch SIG{HUP,INT,TERM,TSTP} and exit gracefully
| | * | rabbitmq-server: Catch SIG{HUP,INT,TERM,TSTP} and exit gracefullyJean-Sébastien Pédron2015-08-101-28/+68
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This is only done when RabbitMQ runs in the foreground and when the Erlang shell is disabled ($RABBITMQ_ALLOW_INPUT is unset). This should be useful to Docker where the service runs as PID 1. Fixes #234.
* | | Merge pull request #254 from rabbitmq/rabbitmq-server-233Michael Klishin2015-08-0925-112/+440
|\ \ \ | | |/ | |/| Support the new Time API in Erlang 18.0
| * | rabbit_misc: Remove now_ms/0 and now_to_ms/1Jean-Sébastien Pédron2015-08-051-12/+0
| | | | | | | | | | | | References #233.
| * | Replace os:timestamp() with os:system_time(milli_seconds)Jean-Sébastien Pédron2015-08-054-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will require all consumers of eg. events to be updated. But this is a good occasion anyway to change the exposed timestamp format to something pushed by the new Time API. Comparisons and calculations are much simpler because the new format is a simple integer. The resolution is a millisecond, not a microsecond, because current consumers of these timestamps do calculations in milliseconds. References #233.
| * | GM: Convert the testsuite to use `time_compat`Jean-Sébastien Pédron2015-08-052-8/+13
| | | | | | | | | | | | References #233.
| * | rabbit_node_monitor: Rework `global` hang workaroundJean-Sébastien Pédron2015-08-051-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Up-to and including Erlang 17, `global` would use `erlang:now()` to tag messages in the process dictionary. In Erlang 18.0, it uses a unique integer, so we can't use this value to determine for how long messages are stuck in the dictionary. We now do two snapshots of the dictionary and compare them. References #233.