mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
use unixNanoTime instead of time.Time in lockRequestorInfo (#20140)
Bonus: Skip Source, Quorum fields in lockArgs that are never sent during Unlock() phase.
This commit is contained in:
@@ -433,7 +433,7 @@ func lock(ctx context.Context, ds *Dsync, locks *[]string, id, source string, is
|
||||
UID: id,
|
||||
Resources: names,
|
||||
Source: source,
|
||||
Quorum: quorum,
|
||||
Quorum: &quorum,
|
||||
}
|
||||
|
||||
// Combined timeout for the lock attempt.
|
||||
|
||||
Reference in New Issue
Block a user