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

Hang during multi-copy #3459

Open
benjaminwinger opened this issue May 7, 2024 · 0 comments
Open

Hang during multi-copy #3459

benjaminwinger opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@benjaminwinger
Copy link
Collaborator

benjaminwinger commented May 7, 2024

After a failed copy (due to duplicate primary keys), I've been encountering a hang. Sometimes it triggers an IOException from reading off the end of the metadata file, which appears to be caused by the numExistingNodeGroups in NodeBatchInsert::initGlobalStateInternal being much higher than it should be (I think as many as if the first copy had succeeded; I'd reproduced this with just a single tuple in the initial copy, and it went from 1 existing node group in the second failed copy, to 456 in the third one which threw the IOException). I'm not sure exactly where it's hanging though; interrupting the process in gdb just interrupts one thread in the task scheduler waiting on other threads to finish.

Initially reproduced in a custom branch, but reproduce-able on master (commit 68b5936).

@benjaminwinger benjaminwinger added the bug Something isn't working label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant