koop-retired / koop-server

PROJECT DEPRECATED - DO NOT USE
Apache License 2.0
5 stars 7 forks source link

Koop serves 1k files during export when file exists on disk but no data is written yet #18

Closed chelm closed 9 years ago

chelm commented 9 years ago

If the exporter is busy writing data into a file the file exists on disk but has no data. This causes Koop to send an empty file.

The solution will be to write to temp file and mv file into place for koop once the file is finished writing.

chelm commented 9 years ago

this is solved via centralized fs access