Maybe someone has encountered this problem before?
I’m running parallel loading for 10 objects using pool.map. Nine of them complete successfully, but one fails when trying to read a configuration file. The problem occurs occasionally and doesn’t follow any regular pattern. All of them read the same configuration file. After rerunning the job, the issue did not occur again and all objects completed successfully.
I’ve seen a similar issue before when releasing new changes to the dev environment. However, this time it’s happening in production, there was no deployment during that period, and the other 9 objects ran without any issues.
The error I’m getting is:
FileNotFoundError: [Errno 2] No such file or directory: '../00_configuration/prd/main_configuration.yaml'
What could be causing this problem?