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

feat: trace v3 data migration #21

Merged
merged 4 commits into from
Dec 6, 2024
Merged

Conversation

nityanandagohain
Copy link
Member

@nityanandagohain nityanandagohain commented Dec 5, 2024

  • Fetches the count of traces and spans from signoz_index_v2 and signoz_spans for the timerange and compares them. Stops if count doesn't match.
  • For each batch of traces it fetch the corresponding traces from signoz_spans, this is done because references are stored as links in the new table.
  • The order by of signoz_spans is traceId. So we created a tmp table name tmp_signoz_spans

@nityanandagohain nityanandagohain marked this pull request as ready for review December 5, 2024 14:23
@nityanandagohain nityanandagohain merged commit 744748c into main Dec 6, 2024
3 checks passed
@nityanandagohain nityanandagohain deleted the feat/migration-0.62-data branch December 6, 2024 14:41
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