Forum - Timout for migration tool plugin?
- This topic has 3 replies, 3 voices, and was last updated 4 years, 10 months ago by Anonymous.
- August 1, 2016 at 1:08 pm #34227AnonymousInactive
we have a question regarding the way that MigrationToolPlugins work. According to the description on the Developer Network (https://developers.exlibrisgroup.com/rosetta/sdk/plugins/MigrationTool) a MigrationToolPlugin expects at least one file and an output directory into which the result is to be written. Rosetta then calls up the script and monitors the output directory until a result is available.
The question at hand is: how long does Rosetta monitor the directory for? Is there a configurable timeout after which the monitoring process can be stopped? ZBW is currently developing a new migration plugin and would like to know if such a method exists to improve the process.
In help is greatly appreciated!
Thanks in advance,
MLAugust 1, 2016 at 2:17 pm #35955AnonymousInactive
Currently there is no timeout – Rosetta will wait for the transaction to complete and only then access the output directory. Timeouts, where needed, can be implemented within the plugin itself.
OpherMay 7, 2018 at 9:47 am #36470AnonymousInactive
when does Rosetta know that the transaction completes? Does it look for a special exitcode?
Our plugin exits with an exitcode=0 on success and with any other exitcode on failure. We use it as Migration Plugin in a Preservation Plan. On migration failure it is possible to skip the IEs but they keep locked with the message:
“Currently Adding/Updating Representation By: SYSTEM”.
So does Rosetta wait for a special exitcode on failure? Is Rosetta otherwise still waiting for the plugin? Or is the plugin not responsible anymore, when we skipped the failed IEs?
KonstantinMay 8, 2018 at 2:04 pm #36472AnonymousInactive
The plugin behavior you describe is correct; the problem appears to be elsewhere within the application. Can you please open a support case on this (this seems related to your closed case 00545031)?
- You must be logged in to reply to this topic.