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.

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.

1 participant