-
Notifications
You must be signed in to change notification settings - Fork 108
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
Bug: Undirected query with DISTINCT fails unpredictably on Windows #4903
Comments
Does this occur if you run with just one thread? |
I'll check first thing on Monday (few hours ahead of you guys so already in weekend mode :D). Just to confirm, is there a specific way to configure a Kuzu connection to be single threaded? |
@arthur-bigeard-gdotv seems that this could be linked to a data race issue on windows. That's why testing with single thread makes sense. You should be able to force single threaded behaviour when you instantiate the Kùzu database object. I'm not sure about the exact argument but the Java docs should show this. |
Got it, i can test that easily, I'll let you know ASAP
…On Fri, 14 Feb 2025, 18:01 Prashanth Rao, ***@***.***> wrote:
@arthur-bigeard-gdotv <https://github.com/arthur-bigeard-gdotv> seems
that this could be linked to a data race issue on windows. That's why
testing with single thread makes sense.
You should be able to force single threaded behaviour when you instantiate
the Kùzu database object. I'm not sure about the exact argument but the
Java docs should show this.
—
Reply to this email directly, view it on GitHub
<#4903 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJSFPA5LDT2L7HFZ5UZN5FT2PYVP3AVCNFSM6AAAAABXC5G7YCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJZHE2TEMRWGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: prrao87]*prrao87* left a comment (kuzudb/kuzu#4903)
<#4903 (comment)>
@arthur-bigeard-gdotv <https://github.com/arthur-bigeard-gdotv> seems
that this could be linked to a data race issue on windows. That's why
testing with single thread makes sense.
You should be able to force single threaded behaviour when you instantiate
the Kùzu database object. I'm not sure about the exact argument but the
Java docs should show this.
—
Reply to this email directly, view it on GitHub
<#4903 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJSFPA5LDT2L7HFZ5UZN5FT2PYVP3AVCNFSM6AAAAABXC5G7YCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJZHE2TEMRWGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Kùzu version
v0.8.0
What operating system are you using?
Windows
What happened?
Arthur from G.V() ran the following undirected query with a
DISTINCT
keyword on the LDBC1 and LDBC10 datasets using the Java API. On MacOS, it runs pretty flawlessly, but on Windows, it randomly succeeds (many times it crashes Kùzu)The task would be to first reproduce the crash on Windows, and see how the behaviour differs from what's happening on macOS.
Are there known steps to reproduce?
Run the above query on a small LDBC1 or LDBC10 dataset on Windows, preferably through the Java API (though the issue is likely at the C++ layer).
The text was updated successfully, but these errors were encountered: