uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Challenger (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-3742) DUCC SM: More robust logic to save state files
Date Sun, 13 Apr 2014 16:06:14 GMT
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

View raw message