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?