Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Log warning when remote read request is cancelled midway #1180

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

antekresic
Copy link
Member

Description

Previously, we were trying to update the header but that cannot be
done in this instance since we are already starting to write the
request body. Only valid way of handling these situations is to
log the error and finish the request.

Merge requirements

Please take into account the following non-code changes that you may need to make with your PR:

  • CHANGELOG entry for user-facing changes
  • Updated the relevant documentation

@antekresic antekresic self-assigned this Feb 22, 2022
@antekresic antekresic requested review from Harkishen-Singh and a team as code owners February 22, 2022 10:35
@antekresic antekresic requested review from sumerman and removed request for a team February 22, 2022 10:36
@antekresic antekresic enabled auto-merge (rebase) February 22, 2022 10:39
Copy link
Contributor

@sumerman sumerman left a comment

Choose a reason for hiding this comment

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

A potentially misguided suggestion 😅

Previously, we were trying to update the header but that cannot be
done in this instance since we are already starting to write the
request body. Only valid way of handling these situations is to
log the error and finish the request.
@antekresic antekresic merged commit 65fbad1 into timescale:master Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants