-
Notifications
You must be signed in to change notification settings - Fork 29
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
can not get apoc.periodic.submit() to run CALL db.createUniquePropertyConstraint() #126
can not get apoc.periodic.submit() to run CALL db.createUniquePropertyConstraint() #126
Comments
theory: apoc.periodic.submit uses mode=WRITE while the call is a schema operation? |
Yes that was my thought too. OTOH periodic.submit runs it in a background thread/scheduler, but I have to check which database that uses. I guess it just submits a closure over the db that was used in the submit procedure. |
…ns (neo4j/apoc#208) * Fixes neo4j/apoc#126: apoc.periodic.submit fails with schema operations (core) * removed unused import
* Fixes #126: Improve validateQuery * improved err. message
…ns (neo4j/apoc#208) (#3234) * Fixes neo4j/apoc#126: apoc.periodic.submit fails with schema operations (neo4j/apoc#208) * Fixes neo4j/apoc#126: Improve validateQuery (neo4j/apoc#218)
…ns (neo4j/apoc#208) (neo4j-contrib#3234) * Fixes neo4j/apoc#126: apoc.periodic.submit fails with schema operations (neo4j/apoc#208) * Fixes neo4j/apoc#126: Improve validateQuery (neo4j/apoc#218)
…ns (neo4j/apoc#208) (#3234) (#3246) * Fixes neo4j/apoc#126: apoc.periodic.submit fails with schema operations (neo4j/apoc#208) * Fixes neo4j/apoc#126: Improve validateQuery (neo4j/apoc#218) * removed unused imports * fixed full compilation error
…ns (extended) (#3211) * Fixes neo4j/apoc#126: apoc.periodic.submit fails with schema operations (extended) * added test * updated extended.txt
…ns (extended) (#3211) * Fixes neo4j/apoc#126: apoc.periodic.submit fails with schema operations (extended) * added test * updated extended.txt
Friday Feb 08, 2019 at 14:27 GMT
Originally opened as neo4j-contrib/neo4j-apoc-procedures#1089
Guidelines
Please note that GitHub issues are only meant for bug reports/feature requests. If you have questions on how to use Streams, please ask on StackOverflow instead of creating an issue here.
Expected Behavior (Mandatory)
Unable to get apoc.periodic.submit() to call
CALL db.createUniquePropertyConstraint(":E(id)", "lucene-1.0")
as the constraint and associated index are never created. No errors, nothing written to debug.log to describe failureActual Behavior (Mandatory)
expect the constraint and related index to be created
How to Reproduce the Problem
have tried
call apoc.periodic.submit('job123','CALL db.createUniquePropertyConstraint(":E(id)","lucene-1.0");');
or
call apoc.periodic.submit('job123','CALL db.createUniquePropertyConstraint(":E(id)","lucene-1.0");');
but still no success
Simple Dataset (where it's possibile)
Steps (Mandatory)
see above
Screenshots (where it's possibile)
Specifications (Mandatory)
Currently used versions
Versions
OS:
uname -a
Linux ubuntu17 4.13.0-16-generic Exception while adding/removing apoc.trigger in neo4j causal cluster #19-Ubuntu SMP Wed Oct 11 18:33:49 UTC 2017 i686 i686 i686 GNU/Linux
Neo4j: 3.5.2
Neo4j-Apoc: apoc-3.5.0.1-all.jar
The text was updated successfully, but these errors were encountered: