apoc icon indicating copy to clipboard operation
apoc copied to clipboard

Utilize KernelTransaction.setStatusDetails() in 4.4

Open neo-technology-build-agent opened this issue 3 years ago • 3 comments

Issue by jexp Friday Nov 05, 2021 at 11:42 GMT Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/2283


For procedures that have long running operations, like periodic iterate or import procedures, use the new functionality to report progress

  • periodic.iterate - how many batches success / how many errors / how many
  • load csv/xml/json
  • from document/import-json/import-csv -> how much data processed (rows, elements) / how much data created in the graph

Comment by jexp Friday Nov 05, 2021 at 19:20 GMT


https://github.com/neo-technology/neo4j/blob/dev/public/community/kernel-api/src/main/java/org/neo4j/kernel/api/KernelTransaction.java#L275

Comment by conker84 Wednesday Dec 29, 2021 at 14:29 GMT


This one is public: https://github.com/neo4j/neo4j/blob/4.4/community/kernel-api/src/main/java/org/neo4j/kernel/api/KernelTransaction.java#L275

Comment by jexp Friday Apr 29, 2022 at 10:16 GMT


This becomes visible in SHOW TRANSACTIONS YIELD * then there is a field for status details.