HTTP 5XX errors were being returned incorrectly from
BoltDB errors that were actually bad requests, e.g.,
names that were too long for buckets, users, and
organizations. Map BoltDB errors to correct Influx
errors and return 4XX errors where appropriate. Also
add op codes to more errors
(cherry picked from commit
|
||
---|---|---|
.. | ||
internal | ||
metrics | ||
mock | ||
remotewrite | ||
transport | ||
bucket_service.go | ||
service.go | ||
service_test.go |