Skip to content

Improve kernel logging and Chinese pipe i18n messages#17750

Open
Caideyipi wants to merge 18 commits into
apache:masterfrom
Caideyipi:optimize-kernel-log-noise
Open

Improve kernel logging and Chinese pipe i18n messages#17750
Caideyipi wants to merge 18 commits into
apache:masterfrom
Caideyipi:optimize-kernel-log-noise

Conversation

@Caideyipi
Copy link
Copy Markdown
Collaborator

@Caideyipi Caideyipi commented May 22, 2026

Description

  • Add more contextual logs for kernel/background flows, including:
    • Pipe task/source/processor/sink lifecycle, retries, resource cleanup, and realtime matcher decisions
    • Load TsFile analysis, schema cache/auto-creation, scheduling/dispatch, splitting, type conversion, and memory/disk selection
    • StorageEngine/DataRegion lifecycle, compaction/TTL scheduling, WAL throttling, metrics reporting, and trigger information updates
  • Rate limit or downgrade noisy repeated logs, and report suppressed counts where repeated warnings are throttled.
  • Improve OPC UA server logs for startup/shutdown, endpoint/security config, stale keyStore recovery, and namespace value/subscription churn.
  • Improve Chinese i18n messages for pipe-related ConfigNode/DataNode/common paths, preserving placeholders and runtime formatting arguments.

Tests

  • mvn -pl iotdb-core/datanode spotless:apply
  • git diff --check
  • git diff --check master...HEAD
  • mvn -pl iotdb-core/datanode -DskipTests validate
  • mvn -pl iotdb-core/datanode -DskipTests compile (fails on existing generated-source missing symbols, e.g. Accumulator/ColumnTransformer/IFill)

@Caideyipi Caideyipi changed the title Optimize noisy kernel logs Optimize kernel and OPC UA server logging May 22, 2026
@Caideyipi Caideyipi changed the title Optimize kernel and OPC UA server logging Improve logging and Chinese pipe i18n messages May 25, 2026
@Caideyipi Caideyipi changed the title Improve logging and Chinese pipe i18n messages Improve kernel logging and Chinese pipe i18n messages May 26, 2026
Copy link
Copy Markdown
Member

@luoluoyuyu luoluoyuyu left a comment

Choose a reason for hiding this comment

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

Review summary

Reduces noisy kernel and pipe-related logging and updates pipe API javadoc terminology (source/sink). Large diff across many files.

Please fix todo-check CI failure. Consider splitting log-level-only changes from i18n message edits to simplify review and cherry-picks.

* <li>While the collaboration task is in progress:
* <ul>
* <li>{@link PipeExtractor} captures the {@link Event}s and wraps them into three types of
* <li>{@link PipeSource} captures the {@link Event}s and wraps them into three types of
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Javadoc now uses PipeSource and PipeSink naming consistently. No functional change here; ensure public docs and user-facing messages in this PR use the same terms.

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.

2 participants