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

etcdserver: special apply for readonly transactions #14113

Closed
wants to merge 1 commit into from

Conversation

lavacat
Copy link

@lavacat lavacat commented Jun 14, 2022

@lavacat lavacat marked this pull request as draft June 14, 2022 19:11
@ptabor
Copy link
Contributor

ptabor commented Jun 14, 2022

Please work on the main branch first. It should be also simpler, as the apply code-path is already separated from the serving:

I think that we can change both:

I would consider passing there additional argument func criticalErrorHandler(err Error) Error that has 2 implementations:

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (release-3.5@0be65da). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 71bba3c differs from pull request most recent head da41518. Consider uploading reports for the commit da41518 to get more accurate results

@@              Coverage Diff               @@
##             release-3.5   #14113   +/-   ##
==============================================
  Coverage               ?   75.48%           
==============================================
  Files                  ?      454           
  Lines                  ?    36894           
  Branches               ?        0           
==============================================
  Hits                   ?    27848           
  Misses                 ?     7320           
  Partials               ?     1726           
Flag Coverage Δ
all 75.48% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0be65da...da41518. Read the comment docs.

@ahrtr
Copy link
Member

ahrtr commented Aug 15, 2022

THe issue has already been resolved in #14149

@ahrtr ahrtr closed this Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants