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 wrong deviceId after PartialPath.concatAsMeasurementPath #14750

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

jt2594838
Copy link
Contributor

The deviceId is re-generated after PartialPath.concatAsMeasurementPath, which may be incorrect because it is recalculated by the default rule.

The result is that the wrong deviceId cannot be matched by existing mod entries, causing data to re-appear after compaction.

To fix it, the result of PartialPath.concatAsMeasurementPath will inherit the deviceId from the parameter.

Copy link
Contributor Author

@jt2594838 jt2594838 left a comment

Choose a reason for hiding this comment

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

Check

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.30%. Comparing base (263443d) to head (f78e1ab).
Report is 18 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14750      +/-   ##
============================================
+ Coverage     39.28%   39.30%   +0.02%     
  Complexity      193      193              
============================================
  Files          4420     4420              
  Lines        281463   281524      +61     
  Branches      34806    34817      +11     
============================================
+ Hits         110572   110661      +89     
+ Misses       170891   170863      -28     

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

@jt2594838 jt2594838 merged commit a681582 into master Jan 22, 2025
38 checks passed
@jt2594838 jt2594838 deleted the fx_table_name_in_compaction branch January 22, 2025 04:26
@jt2594838 jt2594838 restored the fx_table_name_in_compaction branch January 22, 2025 04:26
JackieTien97 pushed a commit that referenced this pull request Jan 25, 2025
* Fix incorrect DeviceId after concatenation

* add it

* revert config

(cherry picked from commit a681582)
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