Skip to content

[apang, bilfash][GOJ-79488] fix xDS to using checks watchplan on usin…#31

Open
meong1234 wants to merge 1 commit intogojek:masterfrom
meong1234:using_watcher
Open

[apang, bilfash][GOJ-79488] fix xDS to using checks watchplan on usin…#31
meong1234 wants to merge 1 commit intogojek:masterfrom
meong1234:using_watcher

Conversation

@meong1234
Copy link

when enableHealthCheck is true it just fetches healthy services.

we figure out that when service registers to Consul, it starts on critical state, and later will become healthy. Some intermittent issue happens if we use service watch plan , when it triggers the event (ex: registered event), xDS fetch the catalog, registered service still on the critical state, but when it becomes healthy xDS not get any event.

so instead watch for a service event, we should watch checks/healthy event on consul

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.

2 participants