Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

How to exact use of tx.rollback in python

Graph Fellow

Hi All,

I am working on some data ingestion using python in neo4j.
I am using multiple transactions to run a process, if any transaction fails then it should rollback each transaction.
while I am trying to do that then performance is not good.
even after a long time it is still not able to ingest data it stuck in tx.commit block and when I am seeing active locks, it shows that almost 100 active locks are there .

how to process this