Skip to content

Pipe: Fixed the bug that attribute sync may cause ArrayIndexOutOfBoundsException / eliminate the existing attributes at the receiver which == null at the sender#17539

Merged
JackieTien97 merged 4 commits intomasterfrom
none-impl
Apr 22, 2026

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

@JackieTien97 JackieTien97 merged commit 35886a5 into master Apr 22, 2026
33 of 35 checks passed
@JackieTien97 JackieTien97 deleted the none-impl branch April 22, 2026 10:43
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

❌ Patch coverage is 70.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.81%. Comparing base (ce103a3) to head (0d56d1c).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
...e/schemaregion/attribute/DeviceAttributeStore.java 50.00% 2 Missing ⚠️
...ner/node/schema/CreateOrUpdateTableDeviceNode.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17539      +/-   ##
============================================
- Coverage     39.86%   39.81%   -0.06%     
  Complexity      312      312              
============================================
  Files          5137     5142       +5     
  Lines        347310   347870     +560     
  Branches      44268    44400     +132     
============================================
+ Hits         138444   138493      +49     
- Misses       208866   209377     +511     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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