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

Remove ServiceStatus.RECOVERING #3714

Closed
wintersteiger opened this issue Mar 28, 2022 · 2 comments
Closed

Remove ServiceStatus.RECOVERING #3714

wintersteiger opened this issue Mar 28, 2022 · 2 comments

Comments

@wintersteiger
Copy link

During discussion of #3679 @jumaffre pointed out that we could remove ServiceStatus.RECOVERING (here) because it is essentially equivalent to ServiceStatus.OPENING && previous_service_identity_version != std::nullopt.

I think this is correct, but the separate state is still valuable as it conveys a clear intention, e.g. in the transition_service_to_open proposals, which would be much harder to read without it. Keeping it would also make it easier to change the service identity recording scheme later (e.g. in case we re-decide to keep a full table of previous identities).

@achamayou
Copy link
Member

@wintersteiger I'm confused, this looks like a ticket for "remove A", which exclusively contains reasons why we should keep A? :)

What I am missing? What's the motivation for removing A?

@wintersteiger
Copy link
Author

Turns out I misunderstood @jumaffre 's comment, opening a replacement issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants