influxdb v2.0.4 Release Notes

Release Date: 2021-02-08 // about 3 years ago
  • ๐Ÿณ Docker

    ARM64

    ๐Ÿš€ This release extends the Docker builds hosted in quay.io to support the linux/arm64 platform.

    2.x nightly images

    ๐Ÿš€ Prior to this release, competing nightly builds caused the nightly Docker tag to contain outdated ๐Ÿ›  binaries. This conflict has been fixed, and the image tagged with nightly will now contain 2.x binaries built from the HEAD of the master branch.

    ๐Ÿ’ฅ Breaking Changes

    ๐Ÿšš inmem index option removed

    ๐Ÿš€ This release fully removes the inmem indexing option, along with the associated config options:

    • max-series-per-database
    • max-values-per-tag

    Replacement tsi1 indexes will be automatically generated on startup for shards that need it.

    Artifact naming conventions

    ๐Ÿš€ The names of artifacts produced by our nightly & release builds have been updated according to the ๐Ÿ’… Google developer guidelines. Underscores (_) have ๐Ÿ‘ป been replaced by hyphens (-) in nearly all cases; the one exception is the use of x86_64 in our ๐Ÿ“ฆ RPM packages, which has been left unchanged.

    ๐Ÿ”‹ Features

    โฌ†๏ธ 1. 20473: Add --overwrite-existing-v2 flag to influxd upgrade to overwrite existing files at output paths (instead of aborting). ๐Ÿ–จ 1. 20524: Add influxd print-config command to support automated config inspection.

    1. 20561: Add nats-port config option for influxd server. ๐Ÿ›ฐ 1. 20564: Add nats-max-payload-bytes config option for influxd server.
    2. 20467: Add influxd inspect export-lp command to extract data in line-protocol format. โšก๏ธ 1. 20604: Update telegraf plugins list in UI to include Beat, Intel PowerStats, and Rienmann. 0๏ธโƒฃ 1. 20634: Promote schema and fill query optimizations to default behavior. โฌ†๏ธ 1. 20678: Upgrade Flux to v0.104.0 โฌ†๏ธ 1. 20680: UI: Upgrade flux-lsp-browser to v0.5.31

    ๐Ÿ› Bug Fixes

    ๐Ÿš€ 1. 20339: Include upgrade helper script in goreleaser manifest. โฌ†๏ธ 1. 20348: Don't show the upgrade notice on fresh influxdb2 installs.

    1. 20348: Ensure config.toml is initialized on fresh influxdb2 installs. ๐Ÿ‘€ 1. 20349: Ensure influxdb service sees default env variables when running under init.d.
    2. 20317: Don't ignore failures to set password during initial user onboarding. โšก๏ธ 1. 20362: Don't overwrite stack name/description on influx stack update. โฑ 1. 20355: Fix timeout setup for influxd graceful shutdown.
    3. 20387: Improve error message shown when influx CLI can't find an org by name. ๐Ÿšš 1. 20380: Remove duplication from task error messages. ๐Ÿ— 1. 20313: Automatically build tsi1 indexes for shards that need it instead of falling back to inmem. ๐ŸŒฒ 1. 20313: Fix logging initialization for storage engine.
    4. 20442: Don't return 500 codes for partial write failures. โฌ†๏ธ 1. 20440: Add confirmation step w/ file sizes before copying data files in influxd upgrade.
    5. 20409: Improve messages in DBRP API validation errors. ๐Ÿ‘ 1. 20489: Improve error message when opening BoltDB with unsupported file system options.
    6. 20490: Fix silent failure to register CLI args as required.
    7. 20522: Fix loading config when INFLUXD_CONFIG_PATH points to a .yml file.
    8. 20527: Don't leak .tmp files while backing up shards.
    9. 20527: Allow backups to complete while a snapshot is in progress.
    10. 20539: Prevent extra output row from GROUP BY crossing DST boundary. โฌ†๏ธ 1. 20548: Prevent panic in influxd upgrade when V1 users exist and no V1 config is given.
    11. 20565: Set correct Content-Type on v1 query responses. โšก๏ธ 1. 20565: Update V1 API spec to document all valid Accept headers and matching Content-Types.
    12. 20578: Respect the --skip-verify flag when running influx query. โšก๏ธ 1. 20495: Update Flux functions list in UI to reflect that v1 package was renamed to schema. ๐Ÿšš 1. 20669: Remove blank lines from payloads sent by influx write.
    13. 20657: Allow for creating users without initial passwords in influx user create.
    14. 20679: Fix incorrect "bucket not found" errors when passing --bucket-id to influx write.
    15. 20702: Fix loading config when INFLUXD_CONFIG_PATH points to a directory with . in its name. ๐Ÿ“œ 1. 20678: Fix infinite loop in Flux parser caused by invalid array expressions. โšก๏ธ 1. 20360: Update API spec to document Flux dictionary features.