Skip to content

Do not reuse remote write requests in case of error #5422

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

Merged
merged 2 commits into from
Jun 23, 2023

Conversation

alanprot
Copy link
Member

What this PR does:
This PR is a follow up of #5193

Reusing requests in case of error seems to may cause data corruption on some edge cases (timeouts). See: grpc/grpc-go#6355

Which issue(s) this PR fixes:
This may be related to #5419

Checklist

  • Tests updated
  • [NA] Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

alanprot added 2 commits June 22, 2023 18:46
Signed-off-by: Alan Protasio <[email protected]>
@alanprot alanprot force-pushed the note-reuse-case-error branch from 627e365 to 88eee30 Compare June 23, 2023 01:46
@alanprot alanprot marked this pull request as ready for review June 23, 2023 01:47
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks!

@alanprot alanprot enabled auto-merge (squash) June 23, 2023 02:19
@alanprot alanprot merged commit 5e1b752 into cortexproject:master Jun 23, 2023
alanprot added a commit to alanprot/cortex that referenced this pull request Jun 23, 2023
* Do not reuse remote write requests in case of error

Signed-off-by: Alan Protasio <[email protected]>

* Changelog

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: Alan Protasio <[email protected]>
alanprot added a commit that referenced this pull request Jun 23, 2023
* Do not reuse remote write requests in case of error (#5422)

* Do not reuse remote write requests in case of error

Signed-off-by: Alan Protasio <[email protected]>

* Changelog

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: Alan Protasio <[email protected]>

* Release and bump version to 1.15.3

Signed-off-by: Alan Protasio <[email protected]>

* Fix Changelog

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: Alan Protasio <[email protected]>
friedrichg added a commit that referenced this pull request Nov 7, 2023
* upgrade to go 1.20.4 (#5299) (#5331)

* upgrade to go 1.20.3

* align on pr name ?

* Update build-image/Dockerfile




* Update test-build-deploy.yml with build image tag 



* Update Makefile



* Remove python-request and python-yaml in build-image/Dockerfile



---------

Signed-off-by: rokh-conduktor <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
Co-authored-by: rokh-conduktor <[email protected]>
Co-authored-by: Friedrich Gonzalez <[email protected]>

* Release and bump version to 1.15.2 (#5336)

* Bump version to 1.15.2

Signed-off-by: Alvin Lin <[email protected]>

* Add entry to change log for 1.15.2 release

Signed-off-by: Alvin Lin <[email protected]>

---------

Signed-off-by: Alvin Lin <[email protected]>

* Release 1.15 (#5423)

* Do not reuse remote write requests in case of error (#5422)

* Do not reuse remote write requests in case of error

Signed-off-by: Alan Protasio <[email protected]>

* Changelog

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: Alan Protasio <[email protected]>

* Release and bump version to 1.15.3

Signed-off-by: Alan Protasio <[email protected]>

* Fix Changelog

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: rokh-conduktor <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
Signed-off-by: Alan Protasio <[email protected]>
Signed-off-by: Ben Ye <[email protected]>
Co-authored-by: Alvin Lin <[email protected]>
Co-authored-by: rokh-conduktor <[email protected]>
Co-authored-by: Friedrich Gonzalez <[email protected]>
Co-authored-by: Alan Protasio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants