minio/internal
Harshavardhana 32b2f6117e
fix: do not pass around sync.Map (#15250)
it is not safe to pass around sync.Map
through pointers, as it may be concurrently
updated by different callers.

this PR simplifies by avoiding sync.Map
altogether, we do not need sync.Map
to keep object->erasureMap association.

This PR fixes a crash when concurrently
using this value when audit logs are
configured.

```
fatal error: concurrent map iteration and map write

goroutine 247651580 [running]:
runtime.throw({0x277a6c1?, 0xc002381400?})
        runtime/panic.go:992 +0x71 fp=0xc004d29b20 sp=0xc004d29af0 pc=0x438671
runtime.mapiternext(0xc0d6e87f18?)
        runtime/map.go:871 +0x4eb fp=0xc004d29b90 sp=0xc004d29b20 pc=0x41002b
```
2022-07-07 17:04:25 -07:00
..
arn run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
auth add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
bpool run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket reject resync start on misconfigured replication rules (#15041) 2022-06-06 02:54:39 -07:00
color update banner to reflect the final agreed UI (#15192) 2022-06-28 16:37:40 -07:00
config add NATS JetStream support (#15201) 2022-07-06 13:29:08 -07:00
crypto fips: simplify TLS configuration (#15127) 2022-06-21 07:54:48 -07:00
disk fix: background local test also via channel (#15086) 2022-06-15 14:51:42 -07:00
dsync Avoid calling .Reset() on active timer (#14941) 2022-05-18 15:37:58 -07:00
etag fips: simplify TLS configuration (#15127) 2022-06-21 07:54:48 -07:00
event add NATS JetStream support (#15201) 2022-07-06 13:29:08 -07:00
fips fips: fix order of elliptic curves (#15141) 2022-06-22 08:09:28 -07:00
handlers handle IPv6 sourceIPs properly (#15005) 2022-05-31 06:04:12 -07:00
hash fix: typo in FIPS sha256 (#15024) 2022-06-01 19:11:04 -07:00
http fix: add timeouts to avoid goroutine leaks in net/http (#14995) 2022-05-30 06:24:51 -07:00
init Disable AVX512 on Darwin (#13550) 2021-11-01 08:03:16 -07:00
ioutil Add detailed scanner metrics (#15161) 2022-07-05 14:45:49 -07:00
jwt run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
kernel update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
kms use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
lock run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
logger fix: do not pass around sync.Map (#15250) 2022-07-07 17:04:25 -07:00
lsync run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
mountinfo run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
pubsub Add detailed scanner metrics (#15161) 2022-07-05 14:45:49 -07:00
rest Make ReqInfo concurrency safe (#15204) 2022-06-30 10:48:50 -07:00
s3select start using t.SetEnv instead of os.Setenv (#14787) 2022-04-23 15:33:45 -07:00
smart run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
sync/errgroup rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00