summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove use of ra.hrlkjnilsson2019-08-306-30/+27
| | | | | | | As this is an internal header now. Rename use of maybe/1 type to option to avoid confusion with rabbit_types:maybe/1 which is different.
* Merge pull request #2089 from rabbitmq/use-werl-on-windows-for-interactive-shellLuke Bakken2019-08-281-1/+7
|\ | | | | scripts/rabbitmq-server.bat: Use `werl.exe` when user wants a shell
| * scripts/rabbitmq-server.bat: Use `werl.exe` when user wants a shellJean-Sébastien Pédron2019-08-281-1/+7
|/ | | | | Compared to `erl.exe`, `werl.exe` has proper line editing and commands history, like Unix' `erl`.
* Merge pull request #2088 from rabbitmq/fix-rabbitmq-env.bat-filter_paths-quotingLuke Bakken2019-08-281-2/+2
|\ | | | | rabbitmq-env.bat: Quote the expansion of %1 in `filter_path`
| * rabbitmq-env.bat: Quote the expansion of %1 in `filter_path`Jean-Sébastien Pédron2019-08-281-2/+2
|/ | | | | | | | | | | | | | | Otherwise, paths containing parenthesis such as `C:/Program Files (x86)/...` get mis-interpreted and the function fails. In my testing, the error was: \Elixir\lib\elixir was unexpected ... based on the fact that Elixir is installed in `C:\Program Files (x86)\Elixir`. While here, explicitely calls `rabbitmqctl.bat`, not `rabbitmqctl`. The latter might be available and picked in a Git clone.
* Merge pull request #2087 from rabbitmq/lrb-ensure-env-var-set-win32Luke Bakken2019-08-281-3/+4
|\ | | | | On Win32, ensure RABBITMQ_FEATURE_FLAGS_FILE_source is set to "environment" correctly
| * Refer to rabbitmqctl.bat using .bat extension on win32Luke Bakken2019-08-281-3/+3
| |
| * Set RABBITMQ_FEATURE_FLAGS_FILE_source=environment correctly on win32Luke Bakken2019-08-281-0/+1
|/
* channel_source suite: remove an assertion that relies on unobfuscated passwordv3.8.0-beta.7Michael Klishin2019-08-181-3/+0
| | | | | | | in connection parameters. It doesn't seem to matter in the test at hand anyway. References rabbitmq/rabbitmq-erlang-client#123.
* Merge pull request #2082 from rabbitmq/optimise-erlang-timersMichael Klishin2019-08-171-1/+1
|\ | | | | Replace timer:send_after/3 by erlang:send_after/3
| * Replace timer:send_after/3 by erlang:send_after/3Diana Corbacho2019-08-161-1/+1
|/ | | | [#167926549]
* Merge pull request #2081 from rabbitmq/fix-consumers/1-when-queue-is-goneMichael Klishin2019-08-151-3/+4
|\ | | | | rabbit_amqqueue: Return empty list in consumers/1 when the queue is gone
| * rabbit_amqqueue: Return empty list in consumers/1 when the queue is goneJean-Sébastien Pédron2019-08-141-3/+4
| | | | | | | | | | | | | | | | This seems to happen in our CI quite frequently with `queue_parallel_SUITE`. In this testsuite, testcases are executed in parallel. At least the `basic_cancel` testcase queries all consumers of all queues: if an unrelated testcase finishes in parallel and thus deletes its queue(s), the call to `consumers_all/1` crashes.
* | channel_source_SUITE: Wait for channel terminationJean-Sébastien Pédron2019-08-141-4/+18
| | | | | | | | | | | | ... which could take some time after connection close. This is mostly a guess, based on the transient failures I see in CI. Hopefully it will help there.
* | cluster_rename_SUITE: Bump timetrap from 8 to 15 minutesJean-Sébastien Pédron2019-08-141-1/+1
|/
* Merge pull request #2078 from rabbitmq/rabbitmq-server-2059-log-rotation-masterMichael Klishin2019-08-148-131/+116
|\ | | | | Fix log rotation on Windows (master)
| * Remove short name formattingLuke Bakken2019-08-138-131/+116
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix missing quote in mkdir argument to handle directories with spaces properly on Windows Ensure paths are double-quoted when necessary Ensure all win32 paths have forward slashes. Use more typical escaping of double quotes Do not convert to a binary as that has bad effects when the msg store dir base has extended ASCII characters, as when setting RABBITMQ_BASE to C:/ProgramData/Tést Directory (frazzle)/RabbitMQ Add "t" modifier to format strings for values that may be unicode Remove use of unquote as it only works when the second arg is not double-quoted when called, but that version fails on paths with spaces. De-quote ALL THE THINGS Update rabbitmq-components.mk (cherry picked from commit a515903662566e0fc158918bc1c42fc1a0a8384a) Log file management suite: adapt to Lager 3.8 I observed no functional changes around log rotation. These assertions depend on internal file management aspects of Lager, so let's update them and see. References #2068, #2059. (cherry picked from commit d6e7c3841c5f01933e9182da1701bd2ac74eb1ff) (cherry picked from commit 6a9eb18ca1f1f3d5166e923f54f4ed349a1b95a2) Replace dequote function with replace syntax, which works with unicode characters
* Merge pull request #2075 from rabbitmq/configure-cluster-nameGerhard Lazu2019-08-124-5/+36
|\ | | | | Make it possible to pre-configure cluster name via config
| * Mention cluster_name in rabbitmq.conf.exampleMichael Klishin2019-08-131-1/+5
| |
| * Make it possible to pre-configure cluster name via configMichael Klishin2019-08-123-4/+31
| | | | | | | | Per discussion with @gerhard.
* | Only send force_event_refresh events to classic queuesMichael Klishin2019-08-131-1/+4
|/ | | | | | | Pair: @dcorbacho. Closes #2077. References #2049.
* Log file management suite: adapt to Lager 3.8Michael Klishin2019-08-111-4/+3
| | | | | | | | I observed no functional changes around log rotation. These assertions depend on internal file management aspects of Lager, so let's update them and see. References #2068, #2059.
* Update rabbitmq-components.mkMichael Klishin2019-08-111-1/+1
|
* Merge pull request #2072 from rabbitmq/mk-cuttlefish-upgradeMichael Klishin2019-08-082-0/+1
|\ | | | | Upgrade bundled Cuttlefish to 2.3.0 produced on Erlang/OTP 21.3
| * Bundle Cuttlefish 2.3.0 escript produced on Erlang/OTP 21.3Michael Klishin2019-08-081-0/+0
| |
| * Log Cuttlefish command at debug levelMichael Klishin2019-08-081-0/+1
| |
* | Merge pull request #2062 from rabbitmq/queue_type_scaffoldingKarl Nilsson2019-08-078-90/+130
|\ \ | |/ |/| Add marker rabbit_queue_type behaviour
| * Add marker rabbit_queue_type behaviourkjnilsson2019-08-078-90/+130
|/ | | | | | | | And use the implementing module as the value of the amqqueue record `type` field. This will allow for easy dispatch to the queue type implementation. Make amqqueue compatible with the classic queue tag
* Merge pull request #2070 from rabbitmq/dialyzer-fixesMichael Klishin2019-08-074-23/+5
|\ | | | | Dialyzer fixes
| * Dialyzer fixeskjnilsson2019-08-064-23/+5
| |
* | Merge pull request #2066 from rabbitmq/qq-persistent-statsMichael Klishin2019-08-051-2/+2
|\ \ | |/ |/| Publish messages_persistent
| * Publish messages_persistentDiana Corbacho2019-08-051-2/+2
|/ | | | | | They were only sent on the event [#167649915]
* Revert "Bump bundle cuttlefish to ↵v3.8.0-beta.6Michael Klishin2019-08-031-0/+0
| | | | | | | | | | | Kyorai/cuttlefish@fff866a3a22dc2a8f3d23aa13933b90542485728" This reverts commit ebfb4ea9b09409a9e31008b3494a17062ed5211d. `config_schema` tests that combine a new style and advanced config snippets fail. This needs further investigation. References Kyorai/cuttlefish#2.
* Bump bundle cuttlefish to ↵Michael Klishin2019-08-031-0/+0
| | | | | | | | Kyorai/cuttlefish@fff866a3a22dc2a8f3d23aa13933b90542485728 All tests pass locally, let's see how package tests do. References Kyorai/cuttlefish#2.
* Merge pull request #2064 from rabbitmq/get-empty-qqMichael Klishin2019-08-031-0/+1
|\ | | | | Add get empty counter to quorum queues
| * Add get empty counter to quorum queuesDiana Corbacho2019-08-021-0/+1
| | | | | | | | [#167667854]
* | Merge pull request #2063 from rabbitmq/qq-persistent-statsKarl Nilsson2019-08-021-1/+4
|\ \ | | | | | | Publish persistent stats for quorum queues
| * | Publish persistent stats for quorum queuesDiana Corbacho2019-08-011-1/+4
| |/ | | | | | | [#167649915]
* | Update erlang.mkJean-Sébastien Pédron2019-08-021-12/+13
| |
* | Update rabbitmq-components.mkMichael Klishin2019-08-011-2/+2
|/
* Update rabbitmq-components.mkArnaud Cogoluègnes2019-07-091-0/+2
|
* Merge pull request #2024 from rabbitmq/management-only-apiv3.8.0-beta.5Michael Klishin2019-07-084-3/+81
|\ | | | | Queue, connection and exchange count functions
| * Merge branch 'master' into management-only-apiMichael Klishin2019-07-0828-435/+1537
| |\ | |/ |/|
* | Future proof test_util:fake_pid/1kjnilsson2019-07-081-2/+13
| | | | | | | | | | | | in OTP 23 pids hava new type tag: 88 (previously 103). To account for this copy whatever the local pid returns and insert that in the output binary.
* | Merge pull request #2047 from rabbitmq/rabbitmq_cli_log_commandsMichael Klishin2019-07-061-0/+95
|\ \ | | | | | | Helpers for CLI logs command
| * \ Merge branch 'master' into rabbitmq_cli_log_commandsMichael Klishin2019-07-0412-41/+162
| |\ \
| * \ \ Merge branch 'master' into rabbitmq_cli_log_commandsMichael Klishin2019-07-022-331/+765
| |\ \ \
| * | | | Stream log for N seconds. Fix line cropping when reading entire log.Daniil Fedotov2019-06-271-24/+33
| | | | |
| * | | | Functions to support log streaming to a CLI node.Daniil Fedotov2019-06-261-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To stream log updates to remote node there will be a process started on the server node to read the log file and send its contents. Unfortunately it's hard to detect the file to be deleted and the streaming process will try indefinitely to get more data from the deleted file. Streaming process is linked to the CLI process and should eventually stop.
| * | | | Functions to support getting last N log entries from the remote node via CLI.Daniil Fedotov2019-06-261-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | Reads last N lines, separated by \n from the file. This should be portable enough to windows.