Skip to main content

Administrating MarkLogic Server

Asynchronous Operations

The partition resize and migrate, as well as the forest migrate and combine operations are processed asynchronously. This is because these operations may move a lot of data and take more time than generally considered reasonable for control to return to your script. Such asynchronous operations are tracked reusing ticket endpoints. This asynchronous process is initiated by GET:/manage/v2/tickets/{tid}?view=process-status, as outlined in the following steps:

The generated ticket is returned in this form:

/manage/v2/tickets/{id}?view=process-status.

You can view the status of the operation by visiting the URL. For example, if the returned ticket is

/manage/v2/tickets/8681809991198462214?view=process-status

and your host is MyHost, then you can view the status of your operation using this URL:

http://MyHost:8002/manage/v2/tickets/8681809991198462214?view=process-status.

Note

Historical ticket information can always be accessed by viewing the ticket default view.