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

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

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]

Signed-off-by: Alan Protasio <alanprot@gmail.com>
Signed-off-by: Alan Protasio <alanprot@gmail.com>
@alanprot alanprot marked this pull request as ready for review June 23, 2023 01:47
Copy link
Collaborator

@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
14 checks passed
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 <alanprot@gmail.com>

* Changelog

Signed-off-by: Alan Protasio <alanprot@gmail.com>

---------

Signed-off-by: Alan Protasio <alanprot@gmail.com>
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 <alanprot@gmail.com>

* Changelog

Signed-off-by: Alan Protasio <alanprot@gmail.com>

---------

Signed-off-by: Alan Protasio <alanprot@gmail.com>

* Release and bump version to 1.15.3

Signed-off-by: Alan Protasio <alanprot@gmail.com>

* Fix Changelog

Signed-off-by: Alan Protasio <alanprot@gmail.com>

---------

Signed-off-by: Alan Protasio <alanprot@gmail.com>
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 <88239458+rokh-conduktor@users.noreply.github.com>
Signed-off-by: Alvin Lin <alvinlin123@gmail.com>
Co-authored-by: rokh-conduktor <88239458+rokh-conduktor@users.noreply.github.com>
Co-authored-by: Friedrich Gonzalez <friedrichg@gmail.com>

* Release and bump version to 1.15.2 (#5336)

* Bump version to 1.15.2

Signed-off-by: Alvin Lin <alvinlin123@gmail.com>

* Add entry to change log for 1.15.2 release

Signed-off-by: Alvin Lin <alvinlin123@gmail.com>

---------

Signed-off-by: Alvin Lin <alvinlin123@gmail.com>

* 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 <alanprot@gmail.com>

* Changelog

Signed-off-by: Alan Protasio <alanprot@gmail.com>

---------

Signed-off-by: Alan Protasio <alanprot@gmail.com>

* Release and bump version to 1.15.3

Signed-off-by: Alan Protasio <alanprot@gmail.com>

* Fix Changelog

Signed-off-by: Alan Protasio <alanprot@gmail.com>

---------

Signed-off-by: Alan Protasio <alanprot@gmail.com>

---------

Signed-off-by: rokh-conduktor <88239458+rokh-conduktor@users.noreply.github.com>
Signed-off-by: Alvin Lin <alvinlin123@gmail.com>
Signed-off-by: Alan Protasio <alanprot@gmail.com>
Signed-off-by: Ben Ye <benye@amazon.com>
Co-authored-by: Alvin Lin <alvinlin@amazon.com>
Co-authored-by: rokh-conduktor <88239458+rokh-conduktor@users.noreply.github.com>
Co-authored-by: Friedrich Gonzalez <friedrichg@gmail.com>
Co-authored-by: Alan Protasio <approtas@amazon.com>
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.

None yet

2 participants