Jim Challenger created UIMA-3742:
------------------------------------

             Summary: 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
            Reporter: Jim Challenger
            Assignee: Jim Challenger


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)

Reply via email to