minio/pkg/lsync
Harshavardhana d55f4336ae
preserve context per request for local locks (#9828)
In the Current bug we were re-using the context
from previously granted lockers, this would
lead to lock timeouts for existing valid
read or write locks, leading to premature
timeout of locks.

This bug affects only local lockers in FS
or standalone erasure coded mode. This issue
is rather historical as well and was present
in lsync for some time but we were lucky to
not see it.

Similar changes are done in dsync as well
to keep the code more familiar

Fixes #9827
2020-06-14 07:43:10 -07:00
..
lrwmutex_test.go preserve context per request for local locks (#9828) 2020-06-14 07:43:10 -07:00
lrwmutex.go preserve context per request for local locks (#9828) 2020-06-14 07:43:10 -07:00