minio/pkg
Harshavardhana febe9cc26a
fix: avoid timer leaks in dsync/lsync (#9781)
At a customer setup with lots of concurrent calls
it can be observed that in newRetryTimer there
were lots of tiny alloations which are not
relinquished upon retries, in this codepath
we were only interested in re-using the timer
and use it wisely for each locker.

```
(pprof) top
Showing nodes accounting for 8.68TB, 97.02% of 8.95TB total
Dropped 1198 nodes (cum <= 0.04TB)
Showing top 10 nodes out of 79
      flat  flat%   sum%        cum   cum%
    5.95TB 66.50% 66.50%     5.95TB 66.50%  time.NewTimer
    1.16TB 13.02% 79.51%     1.16TB 13.02%  github.com/ncw/directio.AlignedBlock
    0.67TB  7.53% 87.04%     0.70TB  7.78%  github.com/minio/minio/cmd.xlObjects.putObject
    0.21TB  2.36% 89.40%     0.21TB  2.36%  github.com/minio/minio/cmd.(*posix).Walk
    0.19TB  2.08% 91.49%     0.27TB  2.99%  os.statNolog
    0.14TB  1.59% 93.08%     0.14TB  1.60%  os.(*File).readdirnames
    0.10TB  1.09% 94.17%     0.11TB  1.25%  github.com/minio/minio/cmd.readDirN
    0.10TB  1.07% 95.23%     0.10TB  1.07%  syscall.ByteSliceFromString
    0.09TB  1.03% 96.27%     0.09TB  1.03%  strings.(*Builder).grow
    0.07TB  0.75% 97.02%     0.07TB  0.75%  path.(*lazybuf).append
```
2020-06-08 11:28:40 -07:00
..
auth fix: remove LDAP groups claim and store them on server (#9637) 2020-05-20 11:33:35 -07:00
bpool Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
bucket lifecycle: Consider multiple tags filtering (#9775) 2020-06-05 10:30:10 -07:00
certs Support mTLS Authentication in Webhooks (#9777) 2020-06-08 05:55:44 -07:00
cgroup Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
color Bring in safe mode support (#8478) 2019-11-09 09:27:23 -08:00
console simplify usage of mutexes and atomic constants (#9501) 2020-05-03 22:35:40 -07:00
csvparser sql, csv: Cache some values between Read() calls to gain performance (#9645) 2020-05-22 10:15:08 -07:00
disk Allocate more buffer (#9683) 2020-05-26 12:35:40 -07:00
dsync fix: avoid timer leaks in dsync/lsync (#9781) 2020-06-08 11:28:40 -07:00
ellipses Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
env fix: add missing copyright headers in some files (#9321) 2020-04-12 13:55:22 -07:00
event Support mTLS Authentication in Webhooks (#9777) 2020-06-08 05:55:44 -07:00
handlers re-implement data usage crawler to be more efficient (#9075) 2020-03-18 16:19:29 -07:00
hash add comment on exported error 2020-05-15 18:17:54 -07:00
iam/policy enable full linter across the codebase (#9620) 2020-05-18 09:59:45 -07:00
ioutil add option for O_SYNC writes for standalone FS backend (#9581) 2020-05-12 19:24:59 -07:00
lock re-implement data usage crawler to be more efficient (#9075) 2020-03-18 16:19:29 -07:00
lsync fix: avoid timer leaks in dsync/lsync (#9781) 2020-06-08 11:28:40 -07:00
madmin madmin: Little error description when parsing server error msg (#9709) 2020-05-26 18:03:00 -07:00
mimedb Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
mountinfo Cache Windows mount point info (#8572) 2019-11-27 20:10:13 +05:30
net fix: re-use connections in webhook/elasticsearch (#9461) 2020-04-28 13:57:56 -07:00
pubsub fix simplify code to start using context (#9350) 2020-04-16 10:56:18 -07:00
quick Start using error wrapping with fmt.Errorf (#8588) 2019-12-02 09:28:01 -08:00
retry fix: avoid timer leaks in dsync/lsync (#9781) 2020-06-08 11:28:40 -07:00
s3select enable full linter across the codebase (#9620) 2020-05-18 09:59:45 -07:00
safe Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
sync/errgroup Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
sys Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
trace Cleanup ResponseWriter function for audit and trace (#8283) 2019-09-24 02:04:28 +05:30
trie Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
wildcard Simplify cast of string to rune slice in wildcard matching (#9577) 2020-05-14 08:20:13 -07:00
words Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00