Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Setting job flags

The replication and revision jobs can be graciously stopped by setting a flag. When these flags are set, iRODS-level changes can be performed without having to kill these jobs (which can potentially cause inconsistencies / unexpected problems). The jobs check for the presence a flag before processing each data object. If it is present, the job stops and logs a message that it is stopped.

Replication flag

Set:

itouch /tempZone/yoda/flags/stop_replication

Unset:

irm /tempZone/yoda/flags/stop_replication

Revisions flag

Set:

itouch /tempZone/yoda/flags/stop_revisions

Unset:

irm /tempZone/yoda/flags/stop_revisions