Skip to content

Pipe Plugin: Fix ClassLoader and Visibility not initialized from CN snapshot after reboot - #15212

Merged
SteveYurongSu merged 4 commits into
masterfrom
fix-pipe-plugin-loader-not-loaded-in-snapshot
Mar 27, 2025
Merged

Pipe Plugin: Fix ClassLoader and Visibility not initialized from CN snapshot after reboot#15212
SteveYurongSu merged 4 commits into
masterfrom
fix-pipe-plugin-loader-not-loaded-in-snapshot

Conversation

@SteveYurongSu

Copy link
Copy Markdown
Member

No description provided.

@SteveYurongSuSteveYurongSu self-assigned this Mar 27, 2025

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request fixes an issue where the ClassLoader and plugin visibility were not properly reinitialized from the configuration node snapshot after a reboot.

  • The new code iterates over all plugin metadata and reloads the corresponding plugin classes.
  • It updates the plugin visibility and registers each plugin's class loader in the manager.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate FailedQuality Gate failed

Failed conditions
53.8% Duplication on New Code (required ≤ 5%)
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

@SteveYurongSu
SteveYurongSu merged commit 4678776 into masterMar 27, 2025
@SteveYurongSu
SteveYurongSu deleted the fix-pipe-plugin-loader-not-loaded-in-snapshot branch March 27, 2025 10:45
@codecov

codecovBot commented Mar 27, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 61.76471% with 13 lines in your changes missing coverage. Please review.

Project coverage is 39.30%. Comparing base (3805b47) to head (3227ab9).
Report is 5 commits behind head on master.

Files with missing linesPatch %Lines
...db/confignode/persistence/pipe/PipePluginInfo.java61.76%13 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## master #15212 +/- ##
============================================
- Coverage 39.33% 39.30% -0.04% 
Complexity 193 193 ============================================
Files 4620 4623 +3 Lines 297368 297482 +114 Branches 37121 37131 +10 ============================================
- Hits 116982 116913 -69 - Misses 180386 180569 +183 

☔ 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.

XNX02 pushed a commit to XNX02/iotdb that referenced this pull request Apr 1, 2025
JackieTien97 pushed a commit that referenced this pull request Apr 14, 2025
Sign up for freeto 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

@SteveYurongSu