Hello,
I've been using apoc.refactor.categorize on Neo 3.5.6 and then Neo 3.5.12 on Windows and I'm getting inconsistent behavior with duplicated category nodes created. And sometimes I also get the below error message when running the procedure:
Neo.ClientError.Procedure.ProcedureCallFailed
Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure apoc.refactor.categorize
: Caused by: org.neo4j.kernel.DeadlockDetectedException: ForsetiClient[0] can't acquire ExclusiveLock{owner=ForsetiClient[8]} on NODE(4041), because holders of that lock are waiting for ForsetiClient[0]. Wait list:ExclusiveLock[ Client[8] waits for [0]]
Attached a screenshot of the results I'm getting with in grey the category nodes duplicated and in orange the original nodes some of them having a relationship to each duplicated and some not.