Azure / Azure/azure-functions-host
Race on file watcher
Open
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
We appear to have a race where:
1. We FTP up the files. After Function.json , but before the corresponding csx,
2. our File Watcher triggers
3. We scan the dir, and csx is missing. So we throw this error.
We throw here:
https://github.com/Azure/azure-webjobs-sdk-script/blob/d51608db9254bf1953ebf03ccfb2bfd2d6573a9c/src/WebJobs.Script/Host/ScriptHost.cs#L963
The customer works around this by uploading twice.
Contributor guide
Assessment
This issue has not been assessed yet.