7fed2ba456
Adds a single-tenant mode (CST) to the IOx routers. Single-tenancy mode differs in two main ways: * V1 write endpoint is partially supported * V2 write endpoint ignores "org" parameter The "normal" mode is "multi tenant" which is the default operational mode, and all existing behaviour remains unchanged. Single tenant mode can be enabled by specifying INFLUXDB_IOX_SINGLE_TENANCY=true. Request parsing is delegated to two implementations of the WriteParamExtractor trait, one each for CST and MT - the logic of each "mode" is defined within these files and all other functionality is common between the two. This commit also renames some of the error types for clarity (NoSpecified -> NoOrgBucketSpecified, other NotSpecified -> NoQueryParams, etc). Note: single tenant code requires testing |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |