docs: document InfluxDB default merge mode#2496
Conversation
Deploying greptime-docs with
|
| 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 |
054f712 to
dc88863
Compare
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>
dc88863 to
53fb6d3
Compare
There was a problem hiding this comment.
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_modein the configuration guide (sample TOML + options table). - Update InfluxDB line protocol docs to describe auto-created table
merge_modeselection (append-only vsmerge_modehint 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.
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
What changed
influxdb.default_merge_modein the configuration guide and sample config.merge_mode.merge_modehints override the configured default, whileappend_mode=truecreates append-only tables withmerge_mode = 'last_row'.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.