summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move mnesia tracking tables to ets tablestracking-to-ets-backupdcorbacho2022-07-215-352/+219
| | | | | | The original cluster-wide tracking tables were transformed into local tables, which are ram only. They can be moved into ets tables making its use much simpler
* Merge pull request #5289 from rabbitmq/bump-otp-23.3Rin Kuryloski2022-07-211-2/+2
|\ | | | | Adopt otp 23.3.4.16
| * Adopt otp 23.3.4.16GitHub2022-07-211-2/+2
| |
* | Merge pull request #5290 from rabbitmq/bump-otp-24.3Rin Kuryloski2022-07-211-2/+2
|\ \ | | | | | | Adopt otp 24.3.4.2
| * | Adopt otp 24.3.4.2GitHub2022-07-211-2/+2
| |/
* | Merge pull request #5291 from rabbitmq/bump-otp-25.0Rin Kuryloski2022-07-211-2/+2
|\ \ | |/ |/| Adopt otp 25.0.3
| * Adopt otp 25.0.3GitHub2022-07-211-2/+2
|/
* Fix sha retrieval in update-otp-patches workflowRin Kuryloski2022-07-202-2/+6
|
* Merge pull request #5279 from rabbitmq/rabbit-index-route-tableMichael Klishin2022-07-204-33/+18
|\ | | | | Include rabbit_index_route in rabbit_table:definitions/0
| * Include rabbit_index_route in rabbit_table:definitions/0David Ansari2022-07-204-33/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit attempts to address the feedback in https://github.com/rabbitmq/rabbitmq-server/pull/5254#discussion_r924497137. Delete special code paths like function rabbit_table:ensure_feature_flag_tables/0 as they are confusing. Instead, handle the new rabbit_index_route table as any other Mnesia table if feature flag direct_exchange_routing_v2 is enabled. Note that this commit comes with one important restriction: A feature flag migration function MUST NOT call rabbit_table:definitions/0 (directly or indirectly) as this will result in a deadlock where the migration function is stuck on the global lock with resource ID 'feature_flags_state_change' when checking for rabbit_feature_flags:is_enabled(direct_exchange_routing_v2) because the migration function runs in a different (RPC) process than the function that holds the 'feature_flags_state_change' lock. The latter lock is set before a feature gets enabled and released after the feature flag got enabled.
* | Merge pull request #5285 from rabbitmq/pjk25/rabbit_networkingMichael Klishin2022-07-201-16/+15
|\ \ | |/ |/| Unexpected fix for //deps/rabbitmq_shovel_management:http_SUITE
| * Unexpected fix for //deps/rabbitmq_shovel_management:http_SUITERin Kuryloski2022-07-201-16/+15
| | | | | | | | | | I'm not sure why this change makes a difference, maybe an incorrect compiler optimization for a record?
* | Merge pull request #5281 from rabbitmq/loic-fix-cqv2-badmatch-5252Michael Klishin2022-07-202-5/+2
|\ \ | |/ |/| CQ: Fix two accidental state overwrites
| * CQ: Fix two accidental state overwritesLoïc Hoguin2022-07-202-5/+2
| | | | | | | | | | | | | | | | | | | | | | The main issue was the one in fetch_by_predicate which resulted in a double file:close on a single FD, the second failing and triggering a badmatch. It only occurs for CQv2 in lazy mode and with a high enough consume rate. It is possible that in other conditions problems did occur but were not detected. The other was detected while looking for the original issue, but might not have created any bug.
* | Merge pull request #5282 from rabbitmq/listeners-to-etsMichael Klishin2022-07-203-56/+74
|\ \ | | | | | | Move listeners from local ram mnesia table to ets tables
| * | Move listeners from local ram mnesia table to ets tablesdcorbacho2022-07-203-56/+74
| | |
* | | Merge pull request #5280 from rabbitmq/pjk25/always-pull-in-oci-workflowRin Kuryloski2022-07-204-12/+80
|\ \ \ | |_|/ |/| | Split the OCI workflow into a nightly and on push phase for less flakiness
| * | Temporarily use the plain ubuntu base in OCI workflowRin Kuryloski2022-07-201-1/+0
| | | | | | | | | | | | | | | until the OCI Base workflow runs at least once, the custom base cannot be used
| * | Split the OCI image build into two phasesRin Kuryloski2022-07-204-1/+79
| | | | | | | | | | | | So that flakiness of debug symbol installation do not block it
| * | Remove debug symbol installation from oci workflowRin Kuryloski2022-07-201-10/+0
| | | | | | | | | | | | | | | As they seem to be extremely flaky. They may be restored via alternate approach.
| * | Use single = instead of == with `test` in DockerfileRin Kuryloski2022-07-201-1/+1
| | |
| * | Always pull the base image in the OCI workflowRin Kuryloski2022-07-201-0/+1
| | | | | | | | | | | | in an attempt to reduce flakiness due to expired package mirrors
* | | Merge pull request #5266 from rabbitmq/log-global-locksMichael Klishin2022-07-202-11/+13
|\ \ \ | |/ / |/| | Log when acquiring or releasing a global lock
| * | Log when acquiring or releasing a global lockDavid Ansari2022-07-202-11/+13
| |/ | | | | | | | | | | | | | | | | | | | | to easily detect dead locks. Prior to this commit, one caller of function rabbit_ff_registry_factory:acquire_state_change_lock/0 was logging that it acquires the lock. However, there are other callers which did not log. Therefore, it was impossible to detect any dead locks by just looking at the the logs.
* | Fetch more tags in update-*-patches.yaml workflowsRin Kuryloski2022-07-202-2/+2
| |
* | Another update-otp-patches.yaml updateRin Kuryloski2022-07-201-1/+1
| |
* | Fixup shell scripting error in update-*-patches.yaml workflowsRin Kuryloski2022-07-202-2/+2
| |
* | Further adjustments to otp/elixir auto-bump workflowsRin Kuryloski2022-07-202-1/+13
| |
* | Fixup otp minor versions in update-otp-patches.yamlRin Kuryloski2022-07-201-2/+2
| |
* | Fixup path in actions workflowsRin Kuryloski2022-07-202-2/+2
| |
* | Add a workflow to auto-bump elixir patches in CIRin Kuryloski2022-07-203-9/+79
| |
* | Fold erlang version declarations for tests and OCI images into oneRin Kuryloski2022-07-204-54/+27
|/ | | | Also automatically open PRs for adopting new OTP patch versions
* Merge pull request #5254 from rabbitmq/direct-exchange-routing-v2Michael Klishin2022-07-198-184/+137
|\
| * Use feature_flags_v2 API for direct_exchange_routing_v2David Ansari2022-07-198-184/+137
|/ | | | | | | | | | | | | | | | | | | | Changes in this commit: 1. Use feature_flags_v2 API for feature flag direct_exchange_routing_v2. Both feature flags feature_flags_v2 and direct_exchange_routing_v2 will be introduced in 3.11. Therefore, direct_exchange_routing_v2 can depend on feature_flags_v2. 2. rabbit_binding:populate_index_route_table/0 should be run only during the feature flag migration. Thereafter, upon node start-ups, binding recovery takes care of populating the table. 3. Merge direct_exchange_routing_v2_post_3_11_SUITE into direct_exchange_routing_v2_SUITE. We don't need two separate test suites with almost identical setup and teardown.
* Merge pull request #5241 from rabbitmq/rabbitmq-server-4140-followupMichael Klishin2022-07-192-128/+38
|\ | | | | Use win32sysinfo.exe to get disk and memory info
| * Use an easier to read ASCII space escape sequenceMichael Klishin2022-07-191-3/+3
| |
| * Only populate index route table if its FF is enabledMichael Klishin2022-07-181-1/+6
| | | | | | | | | | This is a patch by @ansd, and addresses //deps/rabbit:direct_exchange_routing_v2_SUITE test run failures
| * NamingMichael Klishin2022-07-183-12/+12
| |
| * fix shovel error according to consumer_timeoutYury.Alioshinov2022-07-183-0/+20
| |
| * Use win32sysinfo.exe to get disk and memory infoLuke Bakken2022-07-162-128/+38
| | | | | | | | | | | | | | | | | | | | | | Follow-up to rabbitmq/rabbitmq-server#4140 In rabbitmq/rabbitmq-server#4328, I use Powershell to get disk info. This PR changes that to use the "included with OTP" win32sysinfo.exe Remove Powershell code Correctly parse the return value of os_mon_sysinfo:get_disk_info/0
* | Merge pull request #5248 from ↵Michael Klishin2022-07-181-4/+19
|\ \ | | | | | | | | | | | | rabbitmq/pjk25/less-noisy-memory-monitor-bazel-macos Be less noisy when sysctl cannot be used for vm_memory_monitor
| * | Be less noisy when sysctl cannot be used for vm_memory_monitorRin Kuryloski2022-07-181-4/+19
|/ / | | | | | | | | | | | | | | This avoids printing the full stacktrace when the error comes from the sysctl invocation, the error message itself is sufficient In practice, when testing with bazel with macos, sysctl is blocked by the sandbox, so logging the stacktrace is rather noisy for tests
* | Only populate index route table if its FF is enabledMichael Klishin2022-07-181-1/+6
| | | | | | | | | | This is a patch by @ansd, and addresses //deps/rabbit:direct_exchange_routing_v2_SUITE test run failures
* | Merge branch 'Haster2004-shovel/issue-4219'Michael Klishin2022-07-183-0/+20
|\ \ | |/ |/|
| * NamingMichael Klishin2022-07-183-12/+12
| |
| * fix shovel error according to consumer_timeoutYury.Alioshinov2022-07-173-0/+20
|/
* Merge pull request #5222 from rabbitmq/local-listeners-tableMichael Klishin2022-07-154-27/+49
|\ | | | | Keep listeners on a local ram table
| * Ensure rabbit listeners tabledcorbacho2022-07-151-2/+12
| |
| * Keep listeners on a local ram tabledcorbacho2022-07-144-27/+39
| |
* | Merge pull request #5203 from rabbitmq/ensure-index-route-tableMichael Klishin2022-07-155-1/+136
|\ \ | | | | | | Ensure rabbit_index_route table is created after joining a cluster