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

Cleanup boss hasActiveSingleton in cluster singleton #1129

Open
ktoso opened this issue Jul 3, 2023 · 0 comments
Open

Cleanup boss hasActiveSingleton in cluster singleton #1129

ktoso opened this issue Jul 3, 2023 · 0 comments
Labels
1 - triaged Ticket makes sense and is well defined, ready to be worked on t:cluster:singleton

Comments

@ktoso
Copy link
Member

ktoso commented Jul 3, 2023

Currently when a node dies and a singleton boss notices it, it looks for the new member and asks the boss if it is ready to accept messages.

We use

    // FIXME: would like to return `Act?` but can't via the generic combining with Codable: rdar://111664985 & https://github.com/apple/swift/issues/67090
    distributed func hasActiveSingleton() -> Bool {

for this, and could return the Act there when we fix apple/swift#67090.

@ktoso ktoso added 1 - triaged Ticket makes sense and is well defined, ready to be worked on t:cluster:singleton labels Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - triaged Ticket makes sense and is well defined, ready to be worked on t:cluster:singleton
Projects
None yet
Development

No branches or pull requests

1 participant