You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the issue is here. If multiple workers are running on the same machine, they may try to write to dagger-system-uuid simultaneously. Locking won't help us here, because the race is across processes.
Is there a reason we need to use UUIDs here? Could we just use the IP address of the worker machine?
The text was updated successfully, but these errors were encountered:
Ahh, I guess we should instead write to a tempfile and move it into place non-forcefully to ensure we get an error if another process moved their file first. We should also change the name of the file to include the username, so that different users can have their own UUIDs.
Is there a reason we need to use UUIDs here? Could we just use the IP address of the worker machine?
Local IP addresses can be identical between different workers, IIUC. However, if you want to submit a patch to calculate the UUID from some system IP address, I'd accept this as an opt-in feature (enabled via environment variable).
I just got this stacktrace while initializing Dagger on a large cluster:
I think the issue is here. If multiple workers are running on the same machine, they may try to write to
dagger-system-uuid
simultaneously. Locking won't help us here, because the race is across processes.Is there a reason we need to use UUIDs here? Could we just use the IP address of the worker machine?
The text was updated successfully, but these errors were encountered: