api7 / apisix-mesh-agent

Apache License 2.0
78 stars 10 forks source link

bug: `reflectToEtcd` and `PushEvent` should be blocking #77

Open lingsamuel opened 3 years ago

lingsamuel commented 3 years ago

Assuming there are two events sets coming from the provisoner.

Sending events non-blockingly will result in the second set (with a higher revision) possibly arriving earlier than the first.

To reduce push count, we need to merge events in PushEvent.