You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/08 10:28:21 UTC

[GitHub] [apisix] spacewander commented on issue #2950: bug: Admin API concurrently created Router ID duplicate

spacewander commented on issue #2950:
URL: https://github.com/apache/apisix/issues/2950#issuecomment-740533052


   https://github.com/apache/apisix/blob/32c7df44cacc28d33abf5c1179b0fc8afa934036/apisix/core/etcd.lua#L277-L287
   
   I think there is a race between read and set.
   Maybe we should introduce a `/apisix/_gen_seq` as the id generator.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org