Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix that config changes rejected by DN will be written to CN's config #14551

Merged
merged 5 commits into from
Dec 27, 2024

Conversation

jt2594838
Copy link
Contributor

No description provided.

(cherry picked from commit e15012c)
Copy link

codecov bot commented Dec 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 33 lines in your changes missing coverage. Please review.

Project coverage is 39.42%. Comparing base (530dd0b) to head (4870e52).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...apache/iotdb/confignode/manager/ConfigManager.java 0.00% 27 Missing ⚠️
...che/iotdb/commons/conf/ConfigurationFileUtils.java 0.00% 5 Missing ⚠️
...g/apache/iotdb/db/storageengine/StorageEngine.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master   #14551   +/-   ##
=========================================
  Coverage     39.42%   39.42%           
  Complexity      185      185           
=========================================
  Files          4341     4341           
  Lines        275397   275406    +9     
  Branches      33639    33641    +2     
=========================================
+ Hits         108566   108588   +22     
+ Misses       166831   166818   -13     

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

});
} else {
// not for this node, ignore it
return tsStatus;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the set configuration target is not this node, should it be forwarded through nodeManager?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link

@jt2594838 jt2594838 merged commit 2c4bb24 into master Dec 27, 2024
38 checks passed
CloudWise-Lukemiao pushed a commit to CloudWise-Lukemiao/iotdb that referenced this pull request Dec 27, 2024
…apache#14551)

* Fix that config changes rejected by DN will be written to CN's config file

* fix test

(cherry picked from commit e15012c)

* fix test

* Revert "fix test"

This reverts commit f6bf884.

* fix not forwarded config
shuwenwei pushed a commit to shuwenwei/iotdb that referenced this pull request Dec 30, 2024
shuwenwei added a commit to shuwenwei/iotdb that referenced this pull request Dec 30, 2024
jt2594838 pushed a commit that referenced this pull request Dec 30, 2024
jt2594838 added a commit that referenced this pull request Dec 30, 2024
@HTHou HTHou deleted the fix_cn_write_wrong_config branch January 6, 2025 06:18
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