Closed iziang closed 1 year ago
Viper is not concurrent safe, the related discussion can be found here: https://github.com/spf13/viper/issues/268.
we can enable the go data race detector to find race condition bugs like this. I have opened another improvement issue https://github.com/apecloud/kubeblocks/issues/2760.
can't reproduce it now, just close this issue, we can reopen it in the future if necessary.
make test
panic with the following error