Skip to content

Require min 30s query.min-expire-age#15585

Merged
wenleix merged 1 commit intoprestodb:masterfrom
aweisberg:min-expire-age
Jan 5, 2021
Merged

Require min 30s query.min-expire-age#15585
wenleix merged 1 commit intoprestodb:masterfrom
aweisberg:min-expire-age

Conversation

@aweisberg
Copy link
Copy Markdown
Contributor

@aweisberg aweisberg commented Jan 5, 2021

Tested manually with TestQueryManagerConfig to make sure the minimum is enforced. 29 seconds fails, 30 seconds works.

This turns out to be important when clients are on higher latency connections. The client library may poll for status for a query that has completed and the coordinator may have expired the completed query causing the client library to generate an error.

== RELEASE NOTES ==
General Changes
* Add 30 second minimum to `query.min-expire-age` configuration parameter.

@wenleix wenleix merged commit ca7610b into prestodb:master Jan 5, 2021
@wenleix
Copy link
Copy Markdown
Contributor

wenleix commented Jan 5, 2021

merged #15585, thanks for the contribution!

@caithagoras caithagoras mentioned this pull request Jan 11, 2021
5 tasks
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.

3 participants