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

Proper locking for datanode leader election #19028

Open
todvora opened this issue Apr 12, 2024 · 1 comment
Open

Proper locking for datanode leader election #19028

todvora opened this issue Apr 12, 2024 · 1 comment

Comments

@todvora
Copy link
Contributor

todvora commented Apr 12, 2024

The current leader election logic in the datanode doesn't do any locking, so it may happen that we have two leaders in the same time. So far it won't cause any problems, but we should fix this soon.

@bernd
Copy link
Member

bernd commented Apr 12, 2024

We should investigate whether we can avoid needing a Data Node leader node. The tasks currently only executed on the leader node might be candidates for the job scheduler.

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

No branches or pull requests

2 participants