Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kf6kjg opened this issue Jul 11, 2017 · 0 comments

Comments

@kf6kjg
Copy link
Owner

kf6kjg commented Jul 11, 2017

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.
*/
@kf6kjg kf6kjg added this to the 2.4 milestone Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant