-
Notifications
You must be signed in to change notification settings - Fork 13
feature: [vt] reject out of retention request #49
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
base: master
Are you sure you want to change the base?
feature: [vt] reject out of retention request #49
Conversation
Signed-off-by: JayiceZ <[email protected]>
Signed-off-by: JayiceZ <[email protected]>
…vtselect-retention-period # Conflicts: # app/vtselect/traces/query/query.go
…vtselect-retention-period Signed-off-by: JayiceZ <[email protected]> # Conflicts: # app/vtselect/traces/query/query.go
…vtselect-retention-period
…period Signed-off-by: JayiceZ <[email protected]> # Conflicts: # app/vtselect/traces/query/query.go # app/vtstorage/main.go # app/vtstorage/netselect/netselect.go
There are some implementations I'm unsure of, may be need further discussion. I'm checking vtstorage's rejection by matching string in the error response, as I can't just rely on a specific HTTP status code. However, I'm not entirely sure about this implementation. |
… by using status code. updated ingestion logic as well
faaf03b
to
481caa6
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #49 +/- ##
========================================
Coverage ? 5.00%
========================================
Files ? 31
Lines ? 5552
Branches ? 0
========================================
Hits ? 278
Misses ? 5267
Partials ? 7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Describe Your Changes
Reject request that query time range exceeds
retentionPeriod
, and avoiding RPC burst problem caused by querying non-exist TraceID describe in #48Checklist
The following checks are mandatory: