Commit Graph

15 Commits (db/update-flux-version)

Author SHA1 Message Date
davidby-influx c169e98f30
fix: corrrectly return 4XX errors instead of 5XX errors (#24519) (#24534)
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 a3fd489864)
2023-12-28 09:03:37 -08:00
Jeffrey Smith II 663d43d210
fix: allow backup of all buckets (#23719)
* fix: allow backup of all buckets

* Revert "fix: allow backup of all buckets"

This reverts commit 256ec2f591a36b946f5c46014f378b2b76c9a8de.

* fix: remove 20 item limit in several of the data stores

* test: add a test for 20 item limit
2022-09-20 10:30:38 -04:00
Daniel Moran a6d4dc250c
feat: list-bucket API supports pagination when filtering by org (#22674) 2021-10-14 15:09:28 -07:00
Sam Arnold 5015297d40
fix: more expressive errors (#22448)
* fix: more expressive errors

Closes #22446

* fix: server only logging for untyped errors

* chore: fix formatting
2021-09-13 15:12:35 -04:00
Daniel Moran 00afd95cb7
refactor: automated move of errors and id from root to kit (#21101)
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Daniel Moran ba4099ddb9
feat(cmd/influx): allow setting shard-group durations for buckets via API and CLI (#20911)
Co-authored-by: Alexander Savinykh <asavinykh@nbrx.de>
2021-03-11 14:51:03 -05:00
Yoofi Quansah 2099b64578 chore: total removal of references to hardcoded IDs 2020-09-11 12:29:00 -07:00
Yoofi Quansah 48f72e0dfd chore: remove hardcoded constants for ids 2020-09-10 12:35:25 -07:00
George 45a3f2e87c
feat(paging): add support for after id parameter in find options (#19219)
* feat(paging): add support for after id parameter in find options

* chore(http): update swagger to reflect after query parameter in list buckets

* chore(changelog): update changelog to reflect after query parameter in list buckets

* chore(tenant): update tenant storage tests for paginating with after
2020-08-25 14:59:59 +01:00
George 5cbe74630e
chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
George 47b7226e3c
fix(tenant): use rand org bucket id generator over snowflake in tenant service (#19021)
* fix(tenant): use rand org bucket id generator over snowflake in tenant service

* fix(tenant): update bucket test harness to create org via store instead of service
2020-07-24 11:35:41 +01:00
Lorenzo Affetti d8f31bf2e4
fix(tenant): make storage pass tenant tests 2020-04-06 17:13:56 +02:00
Jonathan A. Sternberg 0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
Lyon Hill 609970c0de
feat(tenant): Add in service functions and business logic (#17296)
* feat(tenant): Add in service functions and business logic

Built on top of the crud layer of the system we should now have additional service logic.
The addition of service layer should allow for us to verify similar functionality to the kv system.
2020-03-17 13:23:00 -06:00
Lyon Hill 8e4fdceccb
feat(tenant): Build the crud actions for the new tenant service (#17171)
* feat(tenant): Build the crud actions for the new tenant service

To faciliate the isolation of domain specific systems we need to have a
isolated CRUD action system that we can layer business logic on top.

Co-authored-by: George <me@georgemac.com>
2020-03-11 12:31:33 -06:00