Skip to content

docs(influxdb3): define cache --node-spec semantics and warm-up trade-off - #7640

Open
reidkaufmann wants to merge 1 commit into
masterfrom
reidk/influxdb3-node-spec-docs
Open

docs(influxdb3): define cache --node-spec semantics and warm-up trade-off#7640
reidkaufmann wants to merge 1 commit into
masterfrom
reidk/influxdb3-node-spec-docs

Conversation

@reidkaufmann

@reidkaufmann reidkaufmann commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

The --node-spec flag on influxdb3 create last_cache / create distinct_cache (Enterprise) has never had defined semantics in the docs — the admin pages say only "Specify which nodes the [cache] should be configured on," the CLI reference pages omit the flag entirely, and the shared "Cache data loading" sections promise unconditional historical loading with no node-spec caveat.

This PR documents what the flag actually controls: which Enterprise nodes load historical data into the cache (at creation and on restart). All query-capable nodes serve the cache and add newly written data to it. The guidance is explicit about when to use it: only to reduce the initial cache warm-up load, and only if temporarily incomplete query results from excluded nodes are acceptable.

Changes (all in content/shared/, Enterprise-gated with {{% show-in "enterprise" %}})

  • influxdb3-cli/create/last_cache.md, influxdb3-cli/create/distinct_cache.md: add an "Additional Enterprise option" table for -n/--node-spec (pattern borrowed from create/trigger.md), including the warm-up/incomplete-results trade-off. The flag was previously undocumented on these pages.
  • influxdb3-admin/last-value-cache/create.md, influxdb3-admin/distinct-value-cache/create.md: replace the undefined "configured on" bullet with the historical-data-load semantics and the "only specify a node list if…" guidance.
  • influxdb3-admin/last-value-cache/_index.md, influxdb3-admin/distinct-value-cache/_index.md: add an Enterprise paragraph to "Cache data loading" covering multi-node behavior: excluded nodes don't load historical data (at creation or restart), still serve and update the cache, and return only post-creation/post-restart values until new data arrives.

Dependency / timing

The "excluded nodes still serve the cache and add newly written data to it" behavior is completed by influxdata/influxdb_pro#5155 (in review). Released versions have a defect where a cache created with an explicit node list errors on excluded query nodes until they restart (EAR-driven fix; see influxdata/EAR#7045). Suggest holding this PR as draft until #5155 merges and/or ships. Historical-load semantics (--node-spec gating warming) are accurate for released versions.

Verification

  • npx hugo --quiet: clean build.
  • Rendered output checked: the new content appears on influxdb3/enterprise/... pages (admin LVC/DVC + CLI reference) and does not appear on the corresponding influxdb3/core/... pages; the internal links to the create pages render.
  • yarn lint / lefthook pre-commit: pass (Vale skipped locally — no binary/Docker; runs in CI).

…-off

Document what --node-spec actually controls for last and distinct value
caches: which Enterprise nodes load historical data into the cache.
All query-capable nodes serve the cache and add newly written data.

- Add the flag to the CLI reference pages (it was undocumented there).
- Replace the undefined 'configured on' wording on the admin create
  pages with the historical-data-load semantics and the trade-off:
  specify a node list only to reduce initial cache warm-up load, and
  only if temporarily incomplete query results from excluded nodes are
  acceptable.
- Add an Enterprise caveat to the 'Cache data loading' sections, which
  previously promised unconditional historical loading.

Depends on influxdata/influxdb_pro#5155 for the serve-and-update
behavior on excluded nodes.
@github-actions

Copy link
Copy Markdown
Contributor

Vale Style Check Results

Metric Count
Errors 0
Warnings 8
Warnings (8)
File Line Rule Message
content/influxdb3/core/admin/distinct-value-cache/_index.md 16 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.
content/influxdb3/core/admin/distinct-value-cache/create.md 45 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.
content/influxdb3/core/admin/last-value-cache/_index.md 17 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.
content/influxdb3/core/admin/last-value-cache/create.md 47 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.
content/influxdb3/enterprise/admin/distinct-value-cache/_index.md 16 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.
content/influxdb3/enterprise/admin/distinct-value-cache/create.md 45 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.
content/influxdb3/enterprise/admin/last-value-cache/_index.md 17 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.
content/influxdb3/enterprise/admin/last-value-cache/create.md 47 InfluxDataDocs.WordList Use 'administrator' instead of 'admin'.

Check passed

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Link Check Results — Link Check Bot

All links are valid

Metric Value
Files Checked 12
Total Links 4760
Errors 0
Warnings 17
Success Rate 99.2437%
⚠️ 17 warning(s) (do not fail CI)
Source File URL Issue
content/influxdb3/core/admin/distinct-value-cache/create/_index.md https://reddit.com/r/influxdb Error (cached)
content/influxdb3/core/admin/distinct-value-cache/create/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/core/admin/distinct-value-cache/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/core/admin/distinct-value-cache/_index.md https://reddit.com/r/influxdb Error (cached)
content/influxdb3/core/admin/last-value-cache/create/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/core/admin/last-value-cache/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/core/reference/cli/influxdb3/create/distinct_cache/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/core/reference/cli/influxdb3/create/last_cache/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/core/reference/cli/influxdb3/create/last_cache/_index.md https://reddit.com/r/influxdb Error (cached)
content/influxdb3/enterprise/admin/distinct-value-cache/create/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/enterprise/admin/distinct-value-cache/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/enterprise/admin/last-value-cache/create/_index.md https://reddit.com/r/influxdb Error (cached)
content/influxdb3/enterprise/admin/last-value-cache/create/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/enterprise/admin/last-value-cache/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/enterprise/reference/cli/influxdb3/create/distinct_cache/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…
content/influxdb3/enterprise/reference/cli/influxdb3/create/last_cache/_index.md https://reddit.com/r/influxdb Error (cached)
content/influxdb3/enterprise/reference/cli/influxdb3/create/last_cache/_index.md https://support.influxdata.com/ Network error: SSL certificate not trusted. Use --insecure if site is trusted (e…

Full details: workflow run summary and artifact. Last updated: 2026-08-11 16:51:49 UTC

@reidkaufmann
reidkaufmann marked this pull request as ready for review August 11, 2026 16:56
@reidkaufmann
reidkaufmann requested a review from a team as a code owner August 11, 2026 16:56
Copilot AI balanced review requested due to automatic review settings August 11, 2026 16:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents Enterprise --node-spec cache warm-up semantics and incomplete-result trade-offs.

Changes:

  • Adds CLI option references for LVC and DVC.
  • Clarifies historical loading and restart behavior.
  • Adds multi-node operational guidance.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
influxdb3-cli/create/last_cache.md Documents the LVC option.
influxdb3-cli/create/distinct_cache.md Documents the DVC option.
influxdb3-admin/last-value-cache/create.md Expands LVC creation guidance.
influxdb3-admin/last-value-cache/_index.md Explains multi-node LVC loading.
influxdb3-admin/distinct-value-cache/create.md Expands DVC creation guidance.
influxdb3-admin/distinct-value-cache/_index.md Explains multi-node DVC loading.
Suppressed comments (2)

content/shared/influxdb3-admin/last-value-cache/create.md:22

  • These sentences promise that excluded nodes serve and update the cache, but the PR description says released versions instead error on excluded query nodes until restart; this behavior depends on the unshipped influxdb_pro#5155. Keep the PR draft until the fix ships, or document the current version-specific limitation so the published instructions remain accurate.
  to specific nodes. All query-capable nodes serve the LVC and add newly
  written data to it, but excluded nodes return incomplete query results until
  new data arrives. Only specify a node list if you accept temporarily
  incomplete query results from excluded nodes.

content/shared/influxdb3-admin/distinct-value-cache/create.md:22

  • These sentences promise that excluded nodes serve and update the cache, but the PR description says released versions instead error on excluded query nodes until restart; this behavior depends on the unshipped influxdb_pro#5155. Keep the PR draft until the fix ships, or document the current version-specific limitation so the published instructions remain accurate.
  to specific nodes. All query-capable nodes serve the DVC and add newly
  written data to it, but excluded nodes return incomplete query results until
  new data arrives. Only specify a node list if you accept temporarily
  incomplete query results from excluded nodes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


| Option | | Description |
| :----- | :------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-n` | `--node-spec` | Which node(s) load historical data into the cache. Two value formats are supported: `all` (default) - all query- and processing-capable nodes load historical data, or `nodes:<node-id>[,<node-id>..]` - only the listed nodes load historical data, reducing the initial cache warm-up load at the cost of temporarily incomplete query results from excluded nodes |

| Option | | Description |
| :----- | :------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-n` | `--node-spec` | Which node(s) load historical data into the cache. Two value formats are supported: `all` (default) - all query- and processing-capable nodes load historical data, or `nodes:<node-id>[,<node-id>..]` - only the listed nodes load historical data, reducing the initial cache warm-up load at the cost of temporarily incomplete query results from excluded nodes |
Comment on lines +100 to +102
Excluded nodes still serve the cache and add newly written data to it,
but until new data arrives, queries served by those nodes return only values
written after the cache was created (or after the node restarted).
Comment on lines +86 to +88
Excluded nodes still serve the cache and add newly written data to it,
but until new data arrives, queries served by those nodes return only values
written after the cache was created (or after the node restarted).
Comment on lines +15 to +22
- **Node specification** (`-n`, `--node-spec`): Specify which nodes load
historical data into the LVC. The default (`all`) loads historical data on
all query- and processing-capable nodes. To reduce the initial cache warm-up
load, use `nodes:<node-id>[,<node-id>...]` to limit the historical data load
to specific nodes. All query-capable nodes serve the LVC and add newly
written data to it, but excluded nodes return incomplete query results until
new data arrives. Only specify a node list if you accept temporarily
incomplete query results from excluded nodes.
Comment thread content/shared/influxdb3-admin/distinct-value-cache/create.md
@reidkaufmann

Copy link
Copy Markdown
Contributor Author

Status update: the behavior this documents is now merged — influxdata/influxdb_pro#5155 (squash cfbf96d184) landed on main on 2026-08-13, with a 3.11 backport in flight (influxdata/influxdb_pro#5205). Not yet in a tagged release: released versions still error on node-spec-excluded query nodes until restart, as described in the PR body. If the timing convention is to hold docs for the release tag, this can merge whenever 3.11.x/3.12 ships with the fix; undrafting now so review can proceed.

@reidkaufmann

Copy link
Copy Markdown
Contributor Author

@jstirnaman Do you want me to wait to merge until 3.11.2 releases? Some content is correct now, but a few statements only become true upon release of 3.11.2 and/or 3.12...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants