This issue was closed 2 days ago but the test I posted has the same behavior in 2.2.4. I'm unable to reopen the issue so I added a comment. Please re-open the issue.
https://github.com/orientechnologies/orientdb/issues/6229 -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
