Skip to content

Fix examples - #160

Merged
zhenlineo merged 4 commits into
neo4j:1.2from
zhenlineo:1.2-fix-examples
May 3, 2017
Merged

Fix examples#160
zhenlineo merged 4 commits into
neo4j:1.2from
zhenlineo:1.2-fix-examples

Conversation

@zhenlineo

Copy link
Copy Markdown
Contributor

No description provided.

@zhenlineo

Copy link
Copy Markdown
Contributor Author

@srbaker It seems the import will fail on 3.4 due to missing path. I think this should fix the problem

Zhen added 3 commits April 27, 2017 14:57
…les"

This reverts commit 64cbfa5, reversing
changes made to 6574439.
Removed some test assumption that is no longer true for server 3.2 to avoid test error
Removed some old stale files in the resources folder

There is an infinite loop in `session._begin_tx` method where a tx is created before a conn is really established.
As a result, if the server went down before the session is closed, then in `session._close`, the session will see a tx should be rolled back and blocks infinitly on `tx._roll_back.consume` as no record will ever return.
This PR makes sure that in `session._begin_tx`, a tx is created after a conn is established.
@zhenlineo
zhenlineo force-pushed the 1.2-fix-examples branch from 8eace76 to da58ba2 Compare May 3, 2017 11:39
@zhenlineo
zhenlineo merged commit 76b0725 into neo4j:1.2 May 3, 2017
@zhenlineo
zhenlineo deleted the 1.2-fix-examples branch May 3, 2017 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant