Current Behavior

The error check doesn't cover the etcd down case. If etcd is unavailable, every request will retry thousands of times.
Also, in the request-id use case, the snowflake algorithm introduces an unnecessary (and probably shouldn't) dependency on etcd. `uuid' is good enough for this case. We are planning to remove it.
Steps to Reproduce
- run APISIX with request-id snowflake enabled
- create route with request-id plugin and snowflake as algorithm
- disable etcd
- request to the route
Environment
- APISIX version (run
apisix version): 3.3.0
Current Behavior
The error check doesn't cover the etcd down case. If etcd is unavailable, every request will retry thousands of times.
Also, in the request-id use case, the snowflake algorithm introduces an unnecessary (and probably shouldn't) dependency on etcd. `uuid' is good enough for this case. We are planning to remove it.
Steps to Reproduce
Environment
apisix version): 3.3.0