minio/internal/once
Klaus Post f1302c40fe
Fix uninitialized replication stats (#20260)
Services are unfrozen before `initBackgroundReplication` is finished. This means that 
the globalReplicationStats write is racy. Switch to an atomic pointer.

Provide the `ReplicationPool` with the stats, so it doesn't have to be grabbed 
from the atomic pointer on every use.

All other loads and checks are nil, and calls return empty values when stats 
still haven't been initialized.
2024-08-15 05:04:40 -07:00
..
init.go Support persistent queue store for loggers (#17121) 2023-05-08 21:20:31 -07:00
singleton.go Fix uninitialized replication stats (#20260) 2024-08-15 05:04:40 -07:00