mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Fix https://github.com/coreos/etcd/issues/4730. Previously we put keys async and there might be a race when the watch triggers before the put receives the response. When that happens, put might fails to get the response since we shutdown the server when watch triggers.