Hi,
there is an existing issue for this topic:
https://issues.apache.org/jira/browse/OAK-2063
On 20/02/17 14:05, Stefan Egli wrote:
Remaining might be the question, at a given paused-path, which child
nodes/properties have already been processed. Here it might help to only
allow pausing at certain well-defined pause-points: eg only when
'entering' a child node ('pauseAtNextChildNode()'). This way you'd know
that nothing would have been processed at the paused-path yet.
So overall ideally one path + its revision should be sufficient for this.
Instead of the revision, the implementation can also rely on a
checkpoint that marks the snapshot of the repository as the basis of the
large-tree-operation.
An intermediate commit (OAK-2556) would have to be annotated with the
current path, while the checkpoint stays the same. For the re-index use
case this probably also means an indirection for the index data tree is
necessary. I remember Thomas mentioned it a while ago, but I cannot find
the issue at the moment.
Regards
Marcel