cookpad / sds

Envoy's v1 Service Discovery Service API and v2 Endpoint Discovery Service API
24 stars 4 forks source link

Fix possible race condition #7

Closed taiki45 closed 6 years ago

taiki45 commented 6 years ago

Use DDB's return_values feature to detect the situation: "deleted the host" or "the host was not found".

ref: https://github.com/cookpad/sds/pull/4#discussion_r218684986

@cookpad/dev-infra FYI