Upstream change: v6.0.0 adopts open files limit, TSI index and ports #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during the weekly code maintenance run (2026-11-02). Upstream (
hassio-addons/addon-influxdb, nowapp-influxdb) is still maintained: v6.0.0 was released 2026-09-17 and renovate bumps continue (debian-base 9.5.1 on 2026-10-22, already in our 5.2.0).v6.0.0 items that touch the InfluxDB part (which this fork keeps):
Items that do not apply: nginx
auth_request/ ingress (this fork dropped Chronograf, Kapacitor and nginx), the Add-on to App rename.Why it may matter: the TSI index (
index-version = "tsi1") keeps memory use bounded with many series, which the default in-memory index does not. The open files limit matters for larger data sets. Both are config choices ininfluxdb/rootfs/etc/influxdb/influxdb.confand the run script. Our config today sets only the data dirs, auth and reporting.Not done: switching the index type on an existing data directory needs a conversion (
influx_inspect buildtsi), so this is a decision, not a drive-by change.Close this issue if you do not want it. Comment
okto approve it for implementation.Ok.
Shipped as v5.3.0 (PR #5), image
git.timstoop.nl/tim/influxdb/aarch64:5.3.0. Not deployed.Adopted:
index-version = "tsi1",ulimits: nofile: 65535(Supervisor 2025.10 or newer; older ones ignore the key, so the run script also raises the soft limit up to the hard limit and logsOpen files limit: N). The Chronograf, Kapacitor, port and nginx parts of upstream's change do not apply to this fork.Because the issue called the index switch a decision, I tested it on InfluxDB 1.13.2 (the same package) instead of trusting the upstream PR text:
Mixed shard index typeswhile both exist. The memory benefit therefore only grows as new shards replace old ones.influx_inspect buildtsi -datadir /data/influxdb/data -waldir /data/influxdb/wal -v, run as the user owning the files (root in the add-on). On the test data it took under a second and every shard got an index directory.Not measured: conversion time and extra disk on a real data volume, and a real Supervisor (the effect of
ulimitson the container). Details ininfluxdb/DOCS.mdand the release notes.