Skip to content

Pipe: Optimize pipe logging with shared PipePeriodicalLogReducer#17887

Open
luoluoyuyu wants to merge 2 commits into
apache:masterfrom
luoluoyuyu:opt/logger-optimization
Open

Pipe: Optimize pipe logging with shared PipePeriodicalLogReducer#17887
luoluoyuyu wants to merge 2 commits into
apache:masterfrom
luoluoyuyu:opt/logger-optimization

Conversation

@luoluoyuyu

Copy link
Copy Markdown
Member

Description

Move PipePeriodicalLogReducer to node-commons and route ConfigNode and DataNode pipe logs through PipeLogger to rate-limit repetitive messages.


This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods.
  • added or updated version, license, or notice information
  • added comments explaining the "why" and the intent of the code wherever would not be obvious
    for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold
    for code coverage.
  • added integration tests.
  • been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

luoluoyuyu and others added 2 commits June 9, 2026 17:16
Move PipePeriodicalLogReducer to node-commons and route ConfigNode and
DataNode pipe logs through PipeLogger to rate-limit repetitive messages.
Apply pipe log reducer cache updates during ConfigNode configuration reload so
pipe_periodical_log_min_interval_seconds and pipe_logger_cache_max_size_in_bytes
take effect without restart.

Co-authored-by: Cursor <cursoragent@cursor.com>
ManagerMessages.FAILED_TO_CLOSE_EXTRACTOR_AFTER_FAILED_TO_INITIALIZE_EXTRACTOR
+ "Ignore this exception.",
closeException);
+ "Ignore this exception.");

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.

Is this missed in i18n

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