Race Condition: Error is thrown if multiple processes try to roll over a log file #712
Labels
enhancement
New feature or request
good first issue
Good for newcomers
Low Hanging Fruit
This should not take a lot of time
Low Priority
This should not take the place of more important work
Encountered while testing the evaluation service:
Two processes (runners for the evaluation service) tried to roll over the rotating handler at the same time. Python doesn't perform interprocessing communication when logging, so it does not consider this a race condition or something python itself should fix.
Something needs to be put into place to prevent this in the future.
This is default handling. The environment variable
LOGGING_CONFIGURATION
may be set to change how logging operates in the case that a remote handler may be needed or file writing needs to be removed in a particular environment.This is low priority since it may be hard to hit.
The text was updated successfully, but these errors were encountered: