Aaron Lehmann af4f82228c wal: hold file lock while renaming WAL directory on non-Windows
Windows requires this lock to be released before the directory is
renamed. But on unix-like operating systems, releasing the lock and
trying to reacquire it immediately can be flaky if a process is forked
around the same time. The file descriptors are marked as close-on-exec
by the Go runtime, but there is a window between the fork and exec where
another process will be holding the lock.
2016-08-26 09:27:51 -07:00
..
2016-05-12 20:50:04 -07:00
2016-05-12 20:50:04 -07:00
2016-06-06 09:43:19 -07:00
2016-05-12 20:50:04 -07:00
2016-05-12 20:50:04 -07:00
2016-05-12 20:50:04 -07:00