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

Do not vote for the same node on IR start #2365

Closed
roman-khimov opened this issue Jun 1, 2023 · 0 comments · Fixed by #2443
Closed

Do not vote for the same node on IR start #2365

roman-khimov opened this issue Jun 1, 2023 · 0 comments · Fixed by #2443
Assignees
Labels
enhancement Improving existing functionality neofs-ir Inner Ring node application issues
Milestone

Comments

@roman-khimov
Copy link
Member

Expected Behavior

Voting should be done when it can change something.

Current Behavior

IR node will vote for whatever key is written into its config unconditionally.

Possible Solution

Check NEO state before voting, likely there is already a vote and likely it's for the same key.

Steps to Reproduce (for bugs)

Restart IR node.

Context

Related to #2363.

@roman-khimov roman-khimov added enhancement Improving existing functionality neofs-ir Inner Ring node application issues labels Jun 1, 2023
@roman-khimov roman-khimov added this to the v0.38.0 milestone Jun 1, 2023
carpawell added a commit to carpawell/neofs-node that referenced this issue Jul 17, 2023
Closes nspcc-dev#2365.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Jul 24, 2023
Closes nspcc-dev#2365.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Jul 24, 2023
Closes nspcc-dev#2365.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Jul 25, 2023
Closes nspcc-dev#2365.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Jul 25, 2023
Closes nspcc-dev#2365.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Jul 25, 2023
Closes nspcc-dev#2365.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Jul 27, 2023
Closes nspcc-dev#2365.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving existing functionality neofs-ir Inner Ring node application issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants