xdmp:spawn() will not support rollback/single transaction. If there is a
failure I cannot rollback my changes done on some of the files which would
have got updated in the DB.

On Tue, May 10, 2016 at 4:43 AM, Asit Nautiyal <[email protected]>
wrote:

> Hi Manoj,
>
>
> Use xdmp:spawn() function.
>
>
> Regards,
>
> Asit Nautiyal
>
>
> ------------------------------
> *From:* [email protected] <
> [email protected]> on behalf of Manoj <
> [email protected]>
> *Sent:* Wednesday, May 4, 2016 7:07 PM
> *To:* General MarkLogic Developer Discussion
> *Subject:* [MarkLogic Dev General] Need to copy more thatn 10k files in
> single transaction
>
> Hi All,
>    I need to copy more than 10k files from one directory to another after
> updating certain parts of the files in a single transaction(with ability to
> rollback in case of any failure). What is the best way to do it.
> When I was trying for larger set of file using xdmp:invoke with isolation
> as 'same-statement' I faced timeouts in marklogic
>
>
> Thanks & Regards
> Manoj
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to