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

Crash encountered with more than one node in the graph #3193

Open
ljhhuxiaoba opened this issue Sep 23, 2023 · 6 comments
Open

Crash encountered with more than one node in the graph #3193

ljhhuxiaoba opened this issue Sep 23, 2023 · 6 comments
Labels

Comments

@ljhhuxiaoba
Copy link

I execute a query on my RedisGraph and get a crash.

Redis version:7.2.0
RedisGraph version: v2.12.9
operating system: windows 10
API:Cypher version 9
query:CREATE (c0) DELETE c0 WITH * MATCH (),() RETURN 1
error message:"Reached the max retries per request limit (which is 1). Refer to "maxRetriesPerRequest" option for details."

To reproduce:
CREATE (),();
CREATE (c0) DELETE c0 WITH * MATCH (),() RETURN 1;

It's worth noting that the database works fine when there is only one node in the graph, but crashes when there are two nodes in the graph.

Actual behavior:
The query failed and the redisgraph container exited abnormally with the error message.

@swilly22
Copy link
Collaborator

Hi @ljhhuxiaoba, thank you for reporting.
I'm working on a fix, this actually reveled an issue within our cartesian product operation.

@swilly22 swilly22 added the bug label Sep 24, 2023
@ljhhuxiaoba
Copy link
Author

May I ask a question that what is the current LOC of RedisGraph?

@swilly22
Copy link
Collaborator

swilly22 commented Nov 4, 2023

Hi @ljhhuxiaoba, I'm not sure what LOC stands for.

@ljhhuxiaoba
Copy link
Author

LOC is an abbreviation for Lines Of Code.

@swilly22
Copy link
Collaborator

swilly22 commented Nov 5, 2023

I see.
That depends, would you consider dependencies as well, or would you like to include testing code lines?
If you just focus on C sources then then:

Running following within FalkorDB src directory :

find . -name '*.c' | xargs wc -l
find . -name '*.h' | xargs wc -l

Yields 79008 C lines and 16319 header lines, giving a total of 95,327 lines.

@ljhhuxiaoba
Copy link
Author

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants