Skip to content

[To dev/1.3] Pipe: Removed the old useless loopback detection logic (#16007)#16009

Closed
Caideyipi wants to merge 753 commits intoapache:masterfrom
Caideyipi:fixxx
Closed

[To dev/1.3] Pipe: Removed the old useless loopback detection logic (#16007)#16009
Caideyipi wants to merge 753 commits intoapache:masterfrom
Caideyipi:fixxx

Conversation

@Caideyipi
Copy link
Copy Markdown
Collaborator

Description

As the title said.


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

liyuheng55555 and others added 30 commits February 21, 2025 17:29
…he DataNode (apache#14900)

* IoTConsensus and IoTConsensusV2 no longer stores the peer list locally on the DataNode (apache#14814)

Co-authored-by: Peng Junzhi <201250214@smail.nju.edu.cn>

Co-authored-by: Xiangpeng Hu <65238551+HxpSerein@users.noreply.github.com>

(cherry picked from commit 4bd2f25)

* Fix IoTConsensus safe deleted index (apache#14883)

* done

* move

(cherry picked from commit 9e973b7)

* Fix IoTConsensus safe deleted index again (apache#14897)

* ?

* spotless

(cherry picked from commit 4aadc09)

* revert iotv2

* fix IT
…#14927)

* cherry-pick merge

* add back load analyze exp

* add back load analyze exp
…4) (apache#14931)

* Improve authority control of cluster management (apache#14924)

* done

* seems done

* done!

* what?

* delete test

(cherry picked from commit ca8482a)

* fix something

* remove test

* spotless
… number of DRs & Modify the implementation of the poll method in PipeRealtimePriorityBlockingQueue to reduce commit queue backlog & Adjust the default thread count related to Pipe for better performance & Significantly reduce pipeMemoryAllocateRetryIntervalMs & Provide a switch for memory control of ConnectorReadFileBuffer (apache#14917) (apache#14946)

(cherry picked from commit b498285)

Co-authored-by: Steve Yurong Su <rong@apache.org>
…hecking of StateMachineProcedure apache#14959 (apache#14961)

(cherry picked from commit fb2cb7a)
* Finished

* optimize autoCleanPartitionTable

* Update SeriesPartitionTable.java

---------

Co-authored-by: Potato <tanxinyu@apache.org>
… core / 2 & IoTConsensusV2: Flush old leader when leader transfer & Delay the execution of invalidateSchemaCache after leader change (apache#14963)

* Adjust default data region num per node from 5 to to cpu core / 2 (apache#14348)

* finish

Signed-off-by: OneSizeFitQuorum <tanxinyu@apache.org>

* fix it & ut

Signed-off-by: OneSizeFitQuorum <tanxinyu@apache.org>

---------

Signed-off-by: OneSizeFitQuorum <tanxinyu@apache.org>
(cherry picked from commit f1714d0)

* merge

* merge

* spotless

---------

Co-authored-by: Potato <tanxinyu@apache.org>
…ment (apache#14965) (apache#14969)

* add todo

* get memory size

(cherry picked from commit e1840d0)
Signed-off-by: OneSizeFitQuorum <tanxinyu@apache.org>
…of OPC UA Sink (apache#14964) (apache#14978)

Co-authored-by: Steve Yurong Su <rong@apache.org>
Co-authored-by: 2b3c511 <rong.li@timecho.com>
… force close situation & fix reference count management for iteration snapshot (apache#14966) (apache#14984)
…e by default apache#14983 (apache#14986)

Signed-off-by: OneSizeFitQuorum <tanxinyu@apache.org>
…pache#14987)

* add phi accrual for node failure detection

* fix unit error

* address review issues

* address review issues

* address review issues

* address review issues

* address review issues
Caideyipi and others added 28 commits July 9, 2025 11:36
…ex persist to config node in shutdown hook (apache#15896)(apache#15901)

* Pipe: Enabled waiting for pipes to finish & progress index persist to config node in shutdown hook (apache#15896)

* persist in shutdown hook

* Update PipeTaskAgent.java

* Update PipeConfigNodeTaskAgent.java

* Update DataNodeShutdownHook.java

* Fix

* Fix2

* Fix3

* Update PipeHeartbeatScheduler.java

* Update ShowPipeTask.java
… some logs (apache#15905) (apache#15908)

* partial

* Changed default

* Update PipeDataNodeTaskAgent.java

* Next
…esend event more efficently (apache#15599) (apache#15926)

* Revert "[To dev/1.3] Pipe/IoTV2: Try to persist progressIndex in local for resend event more efficently (apache#15599) (apache#15669)"

This reverts commit 59974f4.

* Update DataNodeShutdownHook.java

* continue revert

* fix
…5922) (apache#15932)

Bumps org.apache.commons:commons-lang3 from 3.13.0 to 3.18.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
  dependency-version: 3.18.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…add capture history file log (apache#15952) (apache#15951)

* Pipe:Fix DataNodeShutdownHook waiting report logic and add capture history file log

* update log
… resetting script (apache#15957)

* Pipe: Added progressIndex reset function to the resource resetting script

* bat-fix
* Update PipeTsFileResourceManager.java

* Update PipeDataRegionAssigner.java

* Update PipeTsFileResourceManager.java

* Update PipeTsFileResourceManager.java
… to MQTT custom plugins" and "Disable the parameter 'ALLOW_ZERO-BYTE_CITE_SIDED_PROPERTY1 NAME' and fix null pointer exception" (apache#15985)

* cp-Enable the kernel to support passing topics to MQTT custom plugins (apache#15523)

* cp-Disable the parameter 'ALLOW_ZERO-BYTE_CITE_SIDED_PROPERTY1 NAME' and fix null pointer exception (apache#15866)

Co-authored-by: shiwenyan <wenyan.shi@timecho.com>

---------

Co-authored-by: shiwenyan <wenyan.shi@timecho.com>
…ving end causes all synchronization to be suspended (apache#15962) (apache#15991)

* Pipe: Fix the problem that a cluster crash in the multi-cluster receiving end causes all synchronization to be suspended

* add IsEndPointAlive Function

* add IsEndPointAlive Function

* add IsEndPointAlive Function

* add pipeCheckSyncAllClientLiveTimeIntervalMs config

* fix

* fix

* fix

* fix

(cherry picked from commit d34054d)
…n realtime-only mode (apache#15999)

* Pipe: Do not transfer historical tsFiles when restarts in realtime-only mode (apache#15996)

* cp
…pache#15998) (apache#16004)

Adds logic to check if a hardlink already exists when creating a hardlink. If the existing file matches the source (by MD5), a warning is logged and creation is skipped. If not, the existing file is deleted and creation is retried, with error handling and logging for failures.

(cherry picked from commit de05c67)
…vents in realtime extractors (apache#15975) (apache#16003)

* Pipe: Report progress index for filter-outed insertion events in realtime extractors (apache#15975)

* fix

* fix

(cherry picked from commit 7214e1f)

* Update PipeDataRegionAssigner.java
@Caideyipi Caideyipi closed this Jul 23, 2025
@Caideyipi Caideyipi deleted the fixxx branch July 23, 2025 07:24
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.