[
https://issues.apache.org/jira/browse/UIMA-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jim Challenger closed UIMA-3742.
--------------------------------
Resolution: Fixed
> DUCC SM: More robust logic to save state files
> ----------------------------------------------
>
> Key: UIMA-3742
> URL: https://issues.apache.org/jira/browse/UIMA-3742
> Project: UIMA
> Issue Type: Improvement
> Components: DUCC
> Affects Versions: 1.1.0-Ducc
> Reporter: Jim Challenger
> Assignee: Jim Challenger
> Fix For: 1.1.0-Ducc
>
>
> The DUCC SM needs to use rename/create/remove logic to insure its state files
> aren't lost due to misc glitches. This applies to the .svc and .meta
> registration files.
> Proposed logic is:
> 1. Rename affected file
> 2. Create new file
> 3. If 2 is successful, remove the old file, else try to rename it back and
> emit an error.
> In no case do we want to lose a file, but we tolerate out-of-date state files.
--
This message was sent by Atlassian JIRA
(v6.2#6252)