Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upkv,storage: annotate context cancellation errors #31291
Conversation
jordanlewis
requested review from
benesch,
nvanbenschoten and
a-robinson
Oct 11, 2018
jordanlewis
requested a review
from cockroachdb/core-prs
as a
code owner
Oct 11, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
a-robinson
approved these changes
Oct 12, 2018
Reviewed 8 of 8 files at r1.
Reviewable status:complete! 0 of 0 LGTMs obtained (and 1 stale)
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
TFTR! bors r+ |
bot
pushed a commit
that referenced
this pull request
Oct 12, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
craig
bot
commented
Oct 12, 2018
Build succeeded |
craig
bot
merged commit 4290f0d
into
cockroachdb:master
Oct 12, 2018
jordanlewis
deleted the
jordanlewis:log-cancel
branch
Oct 12, 2018
This was referenced Oct 15, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jordanlewis commentedOct 11, 2018
Previously, errors retrieved from cancelled context were frequently
passed up the stack without annotation, making it very difficult to
understand later what cancelled a context.
This commit annotates several potential context cancellation errors that
can occur on the synchronous query path with more context (no pun
intended).
Hopefully informs #30886, #31094, #30659, etc.
Release note: None