Skip to content

Conversation

JayiceZ
Copy link
Contributor

@JayiceZ JayiceZ commented Sep 7, 2025

Describe Your Changes

Reject request that query time range exceeds retentionPeriod, and avoiding RPC burst problem caused by querying non-exist TraceID describe in #48

Checklist

The following checks are mandatory:

…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
…period

Signed-off-by: JayiceZ <[email protected]>

# Conflicts:
#	app/vtselect/traces/query/query.go
#	app/vtstorage/main.go
#	app/vtstorage/netselect/netselect.go
@JayiceZ
Copy link
Contributor Author

JayiceZ commented Sep 16, 2025

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
@jiekun jiekun force-pushed the vtselect-retention-period branch from faaf03b to 481caa6 Compare October 14, 2025 15:12
Copy link

codecov bot commented Oct 14, 2025

Codecov Report

❌ Patch coverage is 18.91892% with 30 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@fd852df). Learn more about missing BASE report.

Files with missing lines Patch % Lines
app/vtselect/traces/query/query.go 0.00% 13 Missing ⚠️
app/vtselect/internalselect/internalselect.go 0.00% 9 Missing ⚠️
app/vtinsert/opentelemetry/opentelemetry.go 0.00% 5 Missing ⚠️
app/vtstorage/netselect/netselect.go 0.00% 3 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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