You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jim Challenger (JIRA)" <de...@uima.apache.org> on 2014/04/13 18:06:14 UTC

[jira] [Created] (UIMA-3742) DUCC SM: More robust logic to save state files

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)