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

fix: Store.validateArgs wrongfully overwriting start, end unix time #25146

Merged
merged 3 commits into from
Jul 12, 2024

Conversation

davidby-influx
Copy link
Contributor

Store.ValidateArgs incorrectly bounds time ranges which precede
the Unix epoch time.

Closes #24669

paulheg added 3 commits July 12, 2024 12:57
When querying data before 1970-01-01 (UNIX time 0) validateArgs would set start to -in64 max and end to int64 max.

(cherry picked from commit 41a9841)
…ls.MinNanoTime or higher than models.MaxNanoTime

(cherry picked from commit 98163d6)
@davidby-influx davidby-influx added kind/bug area/flux Issues related to the Flux query engine team/edge labels Jul 12, 2024
@davidby-influx davidby-influx self-assigned this Jul 12, 2024
@davidby-influx davidby-influx requested a review from philjb July 12, 2024 20:19
Copy link
Contributor

@philjb philjb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: from #24741

@davidby-influx davidby-influx merged commit c2b3e38 into main-2.x Jul 12, 2024
25 checks passed
@davidby-influx davidby-influx deleted the DSB_range_fix branch July 12, 2024 21:12
davidby-influx added a commit that referenced this pull request Jul 15, 2024
…25146)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes #24669

Co-authored-by: Paul Hegenberg <[email protected]>
(cherry picked from commit c2b3e38)

closes #25148
davidby-influx added a commit that referenced this pull request Jul 15, 2024
…25146)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes #24669

Co-authored-by: Paul Hegenberg <[email protected]>

closes #25149
davidby-influx added a commit that referenced this pull request Jul 16, 2024
…25146) (#25165)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes #24669

Co-authored-by: Paul Hegenberg <[email protected]>

closes #25149
davidby-influx added a commit that referenced this pull request Jul 16, 2024
…25146) (#25163)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes #24669

Co-authored-by: Paul Hegenberg <[email protected]>
(cherry picked from commit c2b3e38)

closes #25148
chengshiwen pushed a commit to chengshiwen/influxdb that referenced this pull request Aug 11, 2024
…nfluxdata#25146) (influxdata#25165)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes influxdata#24669

Co-authored-by: Paul Hegenberg <[email protected]>

closes influxdata#25149
davidby-influx added a commit that referenced this pull request Aug 12, 2024
…25146) (#25165)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes #24669

Co-authored-by: Paul Hegenberg <[email protected]>

closes #25149

(cherry picked from commit c4bfaa8)

closes #25150
davidby-influx added a commit that referenced this pull request Aug 13, 2024
…25146) (#25165) (#25242)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes #24669

Co-authored-by: Paul Hegenberg <[email protected]>

closes #25149

(cherry picked from commit c4bfaa8)

closes #25150
chengshiwen pushed a commit to chengshiwen/influxdb that referenced this pull request Aug 27, 2024
…nfluxdata#25146) (influxdata#25165)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes influxdata#24669

Co-authored-by: Paul Hegenberg <[email protected]>

closes influxdata#25149
chengshiwen pushed a commit to chengshiwen/influxdb that referenced this pull request Aug 28, 2024
…nfluxdata#25146) (influxdata#25165)

When querying data before 1970-01-01 (UNIX time 0)
validateArgs would set start to -in64 max and end to int64 max.

closes influxdata#24669

Co-authored-by: Paul Hegenberg <[email protected]>

closes influxdata#25149
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/flux Issues related to the Flux query engine kind/bug team/edge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants