-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
bulkio: parallelImporter can get stuck #49977
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Comments
Hi @miretskiy, please add a C-ategory label to your issue. Check out the label system docs. While you're here, please consider adding an A- label to help keep our repository tidy. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
miretskiy
added
the
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
label
Jun 8, 2020
nvanbenschoten
changed the title
parallelImporter can get stuc
bulkio: parallelImporter can get stuck
Jun 8, 2020
miretskiy
pushed a commit
to miretskiy/cockroach
that referenced
this issue
Jun 8, 2020
Fixes cockroachdb#49977 Parallel importer could get stuck due to a race between emitted import batches and checking for context cancellation (either due to an unforeseen error, or due to explicit context cancallation). Fix the race condition, and add tests verifying correct behavior. Release notes: bug fix -- correctly handle import cancellation and errors.
miretskiy
pushed a commit
to miretskiy/cockroach
that referenced
this issue
Jun 8, 2020
Fixes cockroachdb#49977 Parallel importer could get stuck due to a race between emitted import batches and checking for context cancellation (either due to an unforeseen error, or due to explicit context cancallation). Fix the race condition, and add tests verifying correct behavior. Release notes: bug fix -- correctly handle import cancellation and errors.
craig bot
pushed a commit
that referenced
this issue
Jun 9, 2020
49979: importccl: Correctly handle errors and cancellations during import. r=miretskiy a=miretskiy Fixes #49977 Parallel importer could get stuck due to a race between emitted import batches and checking for context cancellation (either due to an unforeseen error, or due to explicit context cancallation). Fix the race condition, and add tests verifying correct behavior. Release notes (bug fix): correctly handle import cancellation and errors. Co-authored-by: Yevgeniy Miretskiy <yevgeniy@cockroachlabs.com>
miretskiy
pushed a commit
to miretskiy/cockroach
that referenced
this issue
Jun 11, 2020
Fixes cockroachdb#49977 Parallel importer could get stuck due to a race between emitted import batches and checking for context cancellation (either due to an unforeseen error, or due to explicit context cancallation). Fix the race condition, and add tests verifying correct behavior. Release notes (bug fix): correctly handle import cancellation and errors.
miretskiy
pushed a commit
to miretskiy/cockroach
that referenced
this issue
Jun 11, 2020
Fixes cockroachdb#49977 Parallel importer could get stuck due to a race between emitted import batches and checking for context cancellation (either due to an unforeseen error, or due to explicit context cancallation). Fix the race condition, and add tests verifying correct behavior. Release notes (bug fix): correctly handle import cancellation and errors.
miretskiy
pushed a commit
to miretskiy/cockroach
that referenced
this issue
Jun 11, 2020
Fixes cockroachdb#49977 Parallel importer could get stuck due to a race between emitted import batches and checking for context cancellation (either due to an unforeseen error, or due to explicit context cancallation). Fix the race condition, and add tests verifying correct behavior. Release notes (bug fix): correctly handle import cancellation and errors.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Parallel importer incorrectly handles the case when either the consumer returned an error,
or the import context itself was cancelled.
The text was updated successfully, but these errors were encountered: