When a file rename fails with EXDEV
(cross device or volume error), copy the
file and delete the original instead
Differs from master branch by overwriting
existing files instead of erring.
closes https://github.com/influxdata/influxdb/issues/22997
Instead of writing out the complete fields.idx
file when it changes, write out incremental
changes that will be applied to the file on
close and startup.
closes https://github.com/influxdata/influxdb/issues/23653
adds two commands "check-schema" and
"merge-schema" to influx_inspect.
These test for field type conflicts
in all fields.idx beneath a directory
and merges the derived schemas if
"check-schema" has been run multiple
times on different directories
Do not update the `FileSet` or `activeLogFile` field in the in-memory
Partition structure if the Manifest file is not correctly saved to
the disk.
closes https://github.com/influxdata/influxdb/issues/23553
When a MANIFEST file is created in TSI, it
should be written to a temp file, then
atomically renamed, to avoid overwriting
the existing file only to fail on the
later write.
closes https://github.com/influxdata/influxdb/issues/23536
feat: estimate Cloud2 cardinality on 1.X databases
To ease migrations to Cloud 2 installations from
1.X databases, estimate Cloud 2 cardinality for
a data node (or OSS system).
closes https://github.com/influxdata/influxdb/issues/23356
influx_inspect verify -dir will no longer append the "/data" path to the dir. Files are checked recursively, so this will still include files in the "/data" path as well as other subdirectories.
closes https://github.com/influxdata/influxdb/issues/22572
This is to prevent an error and also to remove the size limit for
queries.
Also to prevent the following error:
```
/ # cat broke.flux
import "types"
host="http://127.0.0.1:8086"
token="myuser:mypass"
from(bucket: "vehicle_communication/30days", host: host, token: token)
|> range(start: -1h)
|> filter(fn: (r) => types.isType(v: r["_value"], type: "int"))
|> aggregateWindow(every: 1m, fn: mean)
/ # cat broke.flux | /influx -username influx_support -type flux -password <pass>
{"error":"failed to initialize execute state: Provider.ReaderFor called on an error dependency"}
```
* chore: use common semantic PR and commit message checks (#23300)
After this is merged, the old semantic checker can be disabled, and its config file removed from the repository.
* chore: remove previous semantic pull request config (#23305)
* chore: remove previous semantic pull request config
* chore: update pull request template, conventional commit version
Co-authored-by: Jacob Marble <jacobmarble@influxdata.com>
Partially implements the /v2/api/buckets
POST for create a bucket
DELETE for deleting a bucket
GET for listing buckets
GET for retrieving one bucket
PATCH for modifying a bucket
See here for API details:
https://docs.influxdata.com/influxdb/cloud/api/#tag/Buckets
Clamp the value of Store.MeasurementsCardinality so that it can not be less
than 0. This primarily shows up as a negative `numMeasurements` value in
/debug/vars under some circumstances.
refs #23285
- Upgrades Go 1.18 -> 1.18.1
- Upgrades Rust 1.53 -> 1.58.1
- Fixes an issue with OSXCross and Darwin builds. This results in the new minimum OSX version being `MacOSX10.14`/`darwin18`