Closed Tomboyo closed 4 years ago
thank you for the detailed report, I'll try to reproduce it on my local. This is using one of the APOC's stored procedures, right?
To my understanding, the db.index.fulltext.createNodeIndex
& queryNodes
procedures come standard with 3.5. I haven't intentionally installed APOC, at least, and CALL apoc.help('apoc')
fails due to unknown procedure.
@Tomboyo - would you mind testing with the code from our master
branch and report back your findings?! Thank you!
Gladly! I'll give it a shot this evening. :)
On Fri, Jan 3, 2020, 2:27 PM Florin notifications@github.com wrote:
@Tomboyo https://github.com/Tomboyo - would you mind testing with the code from our master branch and report back your findings?! Thank you!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/florinpatrascu/bolt_sips/issues/78?email_source=notifications&email_token=AA2OQ6IVYRW2NYFWTL24YQ3Q36GTPA5CNFSM4JTES3S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIB4RXI#issuecomment-570673373, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2OQ6OFC4CGWZ7KWRLWRATQ36GTPANCNFSM4JTES3SQ .
I can confirm that this is working on master against my database. :)
I just published a new release, published to https://hex.pm/packages/bolt_sips/2.0.3, containing all the new improvements, including the fix for this issue. Please feel free to close it, if you're satisfied with the new version :)
Thank you, @Tomboyo and @kristofka!
Just got around to building with the new release. Looks good there as well, going ahead and closing this. Thanks everyone!
I have the following fulltext index on my database:
And the following Bolt.Sips configuration (note the pool_size of just 1):
If I issue the following malformed query (because
badparen)
is not quoted and is therefore treated like a Lucene query containing syntax errors):Then that query correctly fails with an error from Apache Lucene:
But! If I then try to issue any further queries:
Then they fail with the following exception:
I wasn't sure if this was a bug or if I was missing a configuration, but it looked like the failed state error was leaking out of internals; was something supposed to ACK or RESET on my behalf? The connection seems to stay in this bad state indefinitely, which could poison a pool over time if a running system has the right bugs in it.
Thanks!
Environment
bolt://
,bolt+routing://
orneo4j://
): bolt://