[GitHub] [apisix-dashboard] ShiningRush commented on issue #519: discuss: how should we automatically generate a primary key for new resource

2020-09-27 Thread GitBox
ShiningRush commented on issue #519: URL: https://github.com/apache/apisix-dashboard/issues/519#issuecomment-699633934 OK, I got it. I think it not a good way that using etcd revision as key. When two request arrive the server at same time, the later request will cover the former,

[GitHub] [apisix-dashboard] ShiningRush commented on issue #519: discuss: how should we automatically generate a primary key for new resource

2020-09-27 Thread GitBox
ShiningRush commented on issue #519: URL: https://github.com/apache/apisix-dashboard/issues/519#issuecomment-699629797 I understand the scenario we are taking about is that user does not give primary key in `PUT` request, right?