Closed ivanahuckova closed 3 months ago
Cancelling a query does not stop its execution due to missing NewRequestWithContext.
NewRequestWithContext
Testing:
status=cancelled
status=ok
Fix: Query cancellation now works correctly by using NewRequestWithContext. See attached logs for confirmation:
I have also lowered the levels of logged "errors", as we were getting error logs also for context.canceled. Switching to debug to reduce noise.
Cancelling a query does not stop its execution due to missing
NewRequestWithContext
.Testing:
status=cancelled
(previouslystatus=ok
)Fix: Query cancellation now works correctly by using
NewRequestWithContext
. See attached logs for confirmation:I have also lowered the levels of logged "errors", as we were getting error logs also for context.canceled. Switching to debug to reduce noise.