Skip to content

Conversation

@bohhyang
Copy link
Contributor

@bohhyang bohhyang commented Sep 15, 2025

Summary

As designed in the doc.
Register each announcer's announcement status to readiness manager in container, see container PR.

Test Done

UT.
QEI deploy indis-canary, see container PR

## [Unreleased]

## [29.76.0] - 2025-09-15
- Preliminary readiness management
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: what's preliminary about it? Would it make more sense to say initial implementation of readiness management system or similar?

Copy link
Contributor Author

@bohhyang bohhyang Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, please see the doc in the PR description, also explained in this class's doc. It's preliminary as a short-term solution since it's based on d2 announcements, which shouldn't be in long run with topology aware SD will change it to base on internal components' readiness.

* Note: if readinessStatusManager.requireStaticD2ServersAnnounced is set to true, and some D2 clusters have
* isToBeAnnouncedFromStaticConfig set to true, then any of them is de-announced will become NOT_SERVING.
*/
NOT_SERVING,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: should we mention that NOT_SERVING is/should be the default ReadinessStatus if there's no other information? It looks like in our internal implementation we use it as the default, not sure if we want to document that here

(just considering I could also imagine an argument for INCONSISTENT as the default)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INCONSISTENT is when some announcement/de-announcement happened and still ongoing or failed. At start up, no announcement is made yet, so not serving is default. I will comment it in the impl class in container. The interface here should be general.

@bohhyang bohhyang merged commit fcebe92 into master Oct 2, 2025
2 checks passed
@bohhyang bohhyang deleted the by/readiness branch October 2, 2025 01:53
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.

5 participants