Commit Graph

2 Commits (db/update-cross-builder)

Author SHA1 Message Date
davidby-influx a3fd489864
fix: corrrectly return 4XX errors instead of 5XX errors (#24519)
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
2023-12-27 08:21:09 -08:00
Stuart Carnie 18d5d8c2f3
feat(influxd): Add errors.List to simplify capturing a list of errors 2019-03-19 20:35:02 -07:00