Skip to content

[To dev/1.3] Pipe: Add a tool for validating and repairing isGeneratedByPipe mark in tsfile resources #15934

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

Merged
merged 8 commits into from
Jul 14, 2025

Conversation

SteveYurongSu
Copy link
Member

This pull request introduces a new validation and repair tool for TsFileResource objects in Apache IoTDB, along with corresponding scripts for Windows and Linux environments. The tool checks whether TsFileResource objects are marked as "generated by pipe" and repairs them if necessary. Key changes include the implementation of the Java tool, the addition of batch scripts for execution, and improvements to the project's usability and maintainability.

Tool Implementation:

Windows Script:

Linux Script:

Copy link

Copy link

codecov bot commented Jul 14, 2025

Codecov Report

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

Project coverage is 41.09%. Comparing base (ae14450) to head (72438c2).
Report is 2 commits behind head on dev/1.3.

Files with missing lines Patch % Lines
...eIsGeneratedByPipeMarkValidationAndRepairTool.java 0.00% 129 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             dev/1.3   #15934      +/-   ##
=============================================
- Coverage      41.12%   41.09%   -0.03%     
  Complexity       198      198              
=============================================
  Files           3569     3570       +1     
  Lines         232256   232385     +129     
  Branches       27762    27785      +23     
=============================================
- Hits           95515    95499      -16     
- Misses        136741   136886     +145     

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

@SteveYurongSu SteveYurongSu merged commit bc33f69 into dev/1.3 Jul 14, 2025
26 of 28 checks passed
@SteveYurongSu SteveYurongSu deleted the fix-resource-pipe-mark branch July 14, 2025 10:36
SteveYurongSu added a commit to Caideyipi/iotdb that referenced this pull request Jul 14, 2025
SteveYurongSu added a commit that referenced this pull request Jul 15, 2025
SteveYurongSu added a commit that referenced this pull request Jul 16, 2025
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.

1 participant