Skip to content

As a webadmin I'm concerned at what would happen if the file is changed while the webserver is reading it #18

Description

@kf6kjg

Comes from this comment in Program.cs:

/* Issues to watch for:
* TODO: Tile image read during write - The web server could attempt to read a file while the file is being written.
*  - Possible solution: write to a random filename then try { mv rndname to finalname with overwrite } catch { try again later for a max of N times }
*    This should provide as much atomicity as possible, and allow anything that's blocking access to be bypassed via time delay. Needs to just fail under exceptions that indicate always-fail conditions.
*/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions