Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global fixes #6007

Merged

Conversation

rickard-green
Copy link
Contributor

@rickard-green rickard-green commented May 23, 2022

Fixed inconsistency bugs in global due to nodeup/nodedown messages not being delivered before/after traffic over connections. Also fixed various inconsistency bugs and deadlocks in global_group and global.

As building blocks for these fixes, a new BIF erlang:nodes/2 has been introduced and net_kernel:monitor_nodes/2 has been extended.

The -hidden and -connect_all command line arguments did not work if multiple instances were present on the command line which has been fixed. The new kernel parameter connect_all has also been introduced in order to replace the -connect_all command line argument.

Replaces #5944

@rickard-green rickard-green added this to the OTP-25.1 milestone May 23, 2022
@rickard-green rickard-green self-assigned this May 23, 2022
@rickard-green rickard-green added the team:VM Assigned to OTP team VM label May 23, 2022
This was referenced May 23, 2022
Also fix the '-hidden' command line argument
* Fix deadlocks and incosistencies when connecting nodes due to global
  lockers going out of sync
* Fix "prevent overlapping partitions" for system with global groups
  configured
* Fix removal of names and locks on nodes outside of configured global
  group or on a node in the group which is not in sync
Also fix the '-connect_all' command line argument.
…bal-fixes/23.3.4/OTP-17934

* rickard/global-fixes/22.3.4/OTP-17934:
  [kernel] Introduce connect_all kernel parameter
  [kernel] global fixes
  [kernel] Monitor nodeup/nodedown directly from global
  [kernel] Fix global group configuration
  [erts,kernel] Connection ID information
  kernel: Fix test case monitor_nodess_down_up
  Guarantee nodedown before nodeup messages
…bal-fixes/24.3.3/OTP-17934

* rickard/global-fixes/23.3.4/OTP-17934:
  [kernel] Introduce connect_all kernel parameter
  [kernel] global fixes
  [kernel] Monitor nodeup/nodedown directly from global
  [kernel] Fix global group configuration
  [erts,kernel] Connection ID information
  kernel: Fix test case monitor_nodess_down_up
  Guarantee nodedown before nodeup messages
…bal-fixes/25.0/OTP-17934

* rickard/global-fixes/24.3.3/OTP-17934:
  [kernel] Introduce connect_all kernel parameter
  [kernel] global fixes
  [kernel] Monitor nodeup/nodedown directly from global
  [kernel] Fix global group configuration
  [erts,kernel] Connection ID information
  kernel: Fix test case monitor_nodess_down_up
  Guarantee nodedown before nodeup messages
@rickard-green rickard-green force-pushed the rickard/global-fixes/25.0/OTP-17934 branch from 3e4a839 to 500e63b Compare May 25, 2022 19:07
@rickard-green rickard-green merged commit 4c7eef7 into erlang:maint May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants