Skip to content

docs: document InfluxDB default merge mode#2496

Open
v0y4g3r wants to merge 1 commit into
mainfrom
docs/influxdb-default-merge-mode
Open

docs: document InfluxDB default merge mode#2496
v0y4g3r wants to merge 1 commit into
mainfrom
docs/influxdb-default-merge-mode

Conversation

@v0y4g3r
Copy link
Copy Markdown
Contributor

@v0y4g3r v0y4g3r commented May 20, 2026

What changed

  • Document influxdb.default_merge_mode in the configuration guide and sample config.
  • Update the InfluxDB line protocol docs to describe how auto-created tables choose merge_mode.
  • Clarify HTTP hint precedence: explicit merge_mode hints override the configured default, while append_mode=true creates append-only tables with merge_mode = 'last_row'.
  • Apply the same updates to the current Chinese docs.

Why

GreptimeDB PR GreptimeTeam/greptimedb#8134 added a new InfluxDB protocol configuration option for the default merge mode used when auto-creating tables from InfluxDB line protocol writes.

@v0y4g3r v0y4g3r changed the title [codex] docs: document InfluxDB default merge mode docs: document InfluxDB default merge mode May 20, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 20, 2026

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 53fb6d3
Status: ✅  Deploy successful!
Preview URL: https://c421ff87.greptime-docs.pages.dev
Branch Preview URL: https://docs-influxdb-default-merge.greptime-docs.pages.dev

View logs

@v0y4g3r v0y4g3r force-pushed the docs/influxdb-default-merge-mode branch from 054f712 to dc88863 Compare May 20, 2026 06:57
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>
@v0y4g3r v0y4g3r force-pushed the docs/influxdb-default-merge-mode branch from dc88863 to 53fb6d3 Compare May 20, 2026 07:11
@v0y4g3r v0y4g3r marked this pull request as ready for review May 20, 2026 07:21
Copilot AI review requested due to automatic review settings May 20, 2026 07:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the GreptimeDB docs to describe the new influxdb.default_merge_mode configuration option and how it interacts with InfluxDB line protocol auto-created tables and HTTP hints, including equivalent updates in the Chinese docs.

Changes:

  • Document influxdb.default_merge_mode in the configuration guide (sample TOML + options table).
  • Update InfluxDB line protocol docs to describe auto-created table merge_mode selection (append-only vs merge_mode hint vs configured default).
  • Clarify HTTP hint precedence for merge_mode (hint overrides configured default) and align wording across EN/ZH docs.

Reviewed changes

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

Show a summary per file
File Description
docs/user-guide/protocols/http.md Updates HTTP hints table to explain merge_mode precedence over influxdb.default_merge_mode for InfluxDB auto-created tables.
docs/user-guide/ingest-data/for-iot/influxdb-line-protocol.md Describes how auto-created tables pick merge_mode and adds a config example for changing the default.
docs/user-guide/deployments-administration/performance-tuning/design-table.md Notes the default for InfluxDB auto-created tables comes from influxdb.default_merge_mode, and merge_mode hint precedence.
docs/user-guide/deployments-administration/configuration.md Adds default_merge_mode to the [influxdb] sample config and the detailed options table.
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/protocols/http.md Chinese version of the HTTP hints precedence updates.
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/ingest-data/for-iot/influxdb-line-protocol.md Chinese version of InfluxDB line protocol merge_mode selection + config snippet.
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments-administration/performance-tuning/design-table.md Chinese version of the design-table note about default_merge_mode and hint precedence.
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments-administration/configuration.md Chinese version of the new config option in sample TOML and options table.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fengjiachun
Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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.

Update docs for feat: add InfluxDB default merge mode config

3 participants