Skip to content

[To dev/1.3][Pipe] Back off TsFile parser admission retries (#18262)#18281

Merged
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:cp-18262-dev-1.3
Jul 23, 2026
Merged

[To dev/1.3][Pipe] Back off TsFile parser admission retries (#18262)#18281
jt2594838 merged 1 commit into
apache:dev/1.3from
Caideyipi:cp-18262-dev-1.3

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

Backport 4300930 (#18262) to dev/1.3.

  • Wake waiting TsFile parsers immediately when parser memory is released.
  • Add bounded exponential backoff with jitter for parser-memory admission retries.
  • Preserve the parsing timeout and add coverage for the backoff helpers and wake-up path.
  • Adapt the change to the dev/1.3 pattern/device-ID APIs and inline-message style.

Tests

  • mvn spotless:apply -pl iotdb-core/datanode,iotdb-core/node-commons
  • mvn -o -nsu test -pl iotdb-core/datanode -Dtest=PipeTsFileInsertionEventAdmissionTest
  • 2 tests passed, 0 failures/errors.

This PR has:

  • been self-reviewed.
  • added unit tests to cover new code paths.
Key changed/added classes
  • PipeTsFileInsertionEvent
  • PipeMemoryManager
  • PipeTsFileInsertionEventAdmissionTest
  • CommonConfig

* [Pipe] Back off TsFile parser admission retries

* [Pipe] Document parser admission backoff config semantics
@jt2594838
jt2594838 merged commit e0ae0bd into apache:dev/1.3 Jul 23, 2026
16 checks passed
@jt2594838
jt2594838 deleted the cp-18262-dev-1.3 branch July 23, 2026 01:36
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