You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I have discovered that a node with a self-connecting relation could cause a database crash or raise an unexpected exception Type mismatch: expected Boolean but was String when executing the query. The bug is not relevant to specific API.
The steps to reproduce the bug are as follows.
Start the docker with sudo docker run -p 6379:6379 -p 3000:3000 -it --rm falkordb/falkordb:edge.
Execute the following queries to initialize the basic data. Please note that the relation is from and to the same node.
CREATE (n0 :L28{k161:-392104257,k162:-60652336,k158:false,id:5,k159:"dGThjm0QF"});
MATCH (n0{id:5}), (n1{id:5}) MERGE(n0)-[r:T38{k490:true,k486:true,k485:-1782193271,k487:true,id:10,k489:true}]->(n1);
The following query could cause the database crash, or sometimes unexpected exception Type mismatch: expected Boolean but was String.
MATCH (n0)<-[r0]-(n1), (n2)<-[r1]-(n1), (n0)<-[r2]-(n3) OPTIONALMATCH (n0)<-[r3]-(n3), (n2)<-[r4]-(n1) WHERE (n1.k159)+'1'CONTAINS'1'ANDr3.id<>r4.idANDr4.id<>r3.idANDr3.k485>r4.k485ANDr4.k485>r0.k485return*;
To facilitate root cause analysis, I have compiled a debug version, the attached the log when triggering the crash to the Pastebin (https://pastebin.mozilla.org/BypUBDfp). Hope this could help you. Thanks!
The text was updated successfully, but these errors were encountered:
Hi! I have discovered that a node with a self-connecting relation could cause a database crash or raise an unexpected exception
Type mismatch: expected Boolean but was String
when executing the query. The bug is not relevant to specific API.The steps to reproduce the bug are as follows.
sudo docker run -p 6379:6379 -p 3000:3000 -it --rm falkordb/falkordb:edge
.Type mismatch: expected Boolean but was String
.To facilitate root cause analysis, I have compiled a debug version, the attached the log when triggering the crash to the Pastebin (https://pastebin.mozilla.org/BypUBDfp). Hope this could help you. Thanks!
The text was updated successfully, but these errors were encountered: