3 ms·
The supervisor is what is responsible for restarting the worker or not. If you have a process that saves files to local disk and the disk is full, causing the w
by biot 10y ago
The supervisor is what is responsible for restarting the worker or not. If you have a process that saves files to local disk and the disk is full, causing the worker to crash, the supervisor can recognize that reason and conclude that the worker process should not be restarted. Additionally, the supervisor can take other actions like informing the rest of the system and/or potentially even spawning a different worker process that stores files to a slower, more expensive cloud storage option.