commit d543e1e5346193b097a055fcd4990bcf373fd8b768e40c3ef1219052649ded8b [browse]
Author: Sergey Matveev
Date: 2025-01-04 15:18:15 +03:00
Fix possible NFS locking issue
Niklas Böhm reported and fixed:
I was using goredo on an NFS and noticed that I sometimes ran into issues
where my program would fail with the following error:
run.go:234: interrupted system call /gpfs01/.../folders/.redo/1.zip.lock
After doing some digging, it seems like the problem is that calling
unix.FcntlFlock with F_SETLKW can be too slow over an NFS and will get
interrupted (see `man 2 flock`, Section on errors [1]). Apparently there is
an automatic restart mechanism [2], but it's also unreliable, so I thought
it's better to handle it explicitly.
[1]: https://www.man7.org/linux/man-pages/man2/fcntl.2.html#ERRORS
[2]: https://unix.stackexchange.com/questions/509375/what-is-interrupted-system-call
commit 92571548c6daab2b18e8e338f4130ccb13ccccdf8cf31942644c2a7e64571c16 [browse]
Author: Sergey Matveev
Date: 2025-01-04 15:17:54 +03:00
Update dependant libraries
commit cd5d49d7b5abd9d0c95d10676ec57201567b934657b9cd4b5be0dbe3b6f9d099 [browse]
Author: Sergey Matveev
Date: 2024-11-24 14:21:27 +03:00
Fix typo
commit e023fcb43cb6573d8a6610020cb16d15c338defd5835e487c0c56403b6e466f5 [browse]
Author: Sergey Matveev
Date: 2024-11-24 14:13:36 +03:00
Download link for 2.6.3 release
commit 783d2e76cb26bd13b2bfc0f00a4636bae4849c854ca81394984afb98935f4c38 [browse]
Author: Sergey Matveev
Date: 2024-11-24 14:11:10 +03:00
Unify redirection operator usage
clone the repository to get more history