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

Composite query logic needs to be able to keep a query alive #2504

Open
ivakegg opened this issue Aug 7, 2024 · 1 comment
Open

Composite query logic needs to be able to keep a query alive #2504

ivakegg opened this issue Aug 7, 2024 · 1 comment
Assignees

Comments

@ivakegg
Copy link
Collaborator

ivakegg commented Aug 7, 2024

We have a race condition when the composite query logic is configured to federate between a local and a remote system (at a minimum). The condition is when one side initializes/plans the query quickly, and the other side takes a long time. The result is if the delta is over 15 minutes for example, then the "quick" side will automatically close the query because no requests for that query were made. This results in the query failing because a next call cannot find the query id.

@ivakegg ivakegg self-assigned this Aug 7, 2024
@ivakegg
Copy link
Collaborator Author

ivakegg commented Aug 7, 2024

Several solutions here:

  1. simply increase the idle timeout on the remote system
  2. add a Query/id/ping endpoint that the composite query logic can call (controlled by a role)
  3. add the ability to increase the idle timeout on a query using a query parameter (controlled by a role)

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

No branches or pull requests

1 participant