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

fix(membership): leader calculation error in some cases #175

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Conversation

HJianBo
Copy link
Member

@HJianBo HJianBo commented Jan 25, 2024

For example, if a node has just joined the cluster, but has not fully rebooted successfully, its guid is undefined:

[{member,'[email protected]',undefined,
    <<0,6,15,187,202,198,177,159,90,134,0,0,11,232,
      0,0>>,
    3792610979,up,running,
    {1706,149095,584199},
    core},
  {member,'[email protected]',undefined,undefined,
   undefined,up,running,
   {1706,155167,852643},
   core}]

For example, if a node has just joined the cluster, but has not fully rebooted successfully,
its `guid` is undefined:

```
[{member,'[email protected]',undefined,
    <<0,6,15,187,202,198,177,159,90,134,0,0,11,232,
      0,0>>,
    3792610979,up,running,
    {1706,149095,584199},
    core},
  {member,'[email protected]',undefined,undefined,
   undefined,up,running,
   {1706,155167,852643},
   core}]
```
@HJianBo HJianBo merged commit e9075fb into main Jan 25, 2024
2 checks passed
@HJianBo HJianBo deleted the fix-oldest branch January 25, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants