-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[spm] Add optimisation by time range #7322
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
[spm] Add optimisation by time range #7322
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7322 +/- ##
==========================================
- Coverage 96.46% 96.44% -0.02%
==========================================
Files 378 378
Lines 22910 22927 +17
==========================================
+ Hits 22101 22113 +12
- Misses 612 616 +4
- Partials 197 198 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
be3f64d to
3411203
Compare
internal/storage/v1/elasticsearch/spanstore/index_utils_test.go
Outdated
Show resolved
Hide resolved
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
47b3e7e to
9b5dd2c
Compare
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
| firstIndex := indexWithDate(indexName, indexDateLayout, startTime) | ||
| currentIndex := indexWithDate(indexName, indexDateLayout, endTime) | ||
| for currentIndex != firstIndex { | ||
| for currentIndex != firstIndex && endTime.After(startTime) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I add this check to prevent infinite loop
|
Hi @yurishkuro, the pr is ready for your review! Thanks |
3cce66e
Which problem is this PR solving?
Description of the changes
How was this change tested?
bash scripts/e2e/spm.sh -b jaeger -m elasticsearchrun successfullyChecklist
jaeger:make lint testjaeger-ui:npm run lintandnpm run test