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] Fixed "migrate_timeseries" command #625

Merged
merged 3 commits into from
Dec 31, 2024
Merged

Conversation

pandafy
Copy link
Member

@pandafy pandafy commented Dec 24, 2024

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Description of Changes

Bug:
The delete query for migrating "traffic" data included WHERE clause which is not supported in InfluxDB.

Fix:
Migrate the "traffic" data at the end. Delete metrics only after migrating "traffic" data.

Fixes #626

pandafy added a commit that referenced this pull request Dec 26, 2024
@pandafy pandafy force-pushed the fix-migrate-timeseries branch from a0ddeb8 to adaf260 Compare December 26, 2024 15:15
Bug:
The delete query for migrating "traffic" data included WHERE
clause which is not supported in InfluxDB.

Fix:
Delete metrics at the end after migrating "access_technology" data.
pandafy added a commit that referenced this pull request Dec 27, 2024
@pandafy pandafy force-pushed the fix-migrate-timeseries branch from adaf260 to abeb3a6 Compare December 27, 2024 06:27
@pandafy pandafy force-pushed the fix-migrate-timeseries branch from abeb3a6 to 8e55052 Compare December 27, 2024 06:37
@nemesifier nemesifier merged commit 6616870 into master Dec 31, 2024
24 checks passed
@nemesifier nemesifier deleted the fix-migrate-timeseries branch December 31, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

[bug] "migrate_timeseries" errors out when writing to InfluxDB with UDP
2 participants