Skip to content

[Subscription] Fix TsFile deduplication and concurrent poll state - #18758

Merged
jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:codex/fix-subscription-dedup-concurrency
Sep 29, 2026
Merged

jt2594838 merged 1 commit into
apache:masterfrom
Caideyipi:codex/fix-subscription-dedup-concurrency

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • Key TsFile deduplication by normalized absolute paths instead of File.hashCode().
  • Use a concurrent key set for in-flight file commit contexts when polls run in parallel.
  • Add a regression test for distinct paths with colliding file hash codes.

Tests

  • mvn -o -pl iotdb-core/datanode -Dtest=TsFileDeduplicationBlockingPendingQueueTest test
  • mvn -o -pl iotdb-client/subscription -DskipTests compile

@jt2594838
jt2594838 merged commit afb9059 into apache:master Sep 29, 2026
38 of 39 checks passed
@jt2594838
jt2594838 deleted the codex/fix-subscription-dedup-concurrency branch September 29, 2026 07:00
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