From 21a549a83b81ba41e1cdfeeae2829903734dc971 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Fri, 16 Oct 2020 09:08:51 -0700 Subject: [PATCH] fix: keep MRF channel open to avoid random CI crash (#10686) There doesn't seem to be any benefit to closing the channel, so just keep it open and let it die with the server. --- cmd/erasure.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/erasure.go b/cmd/erasure.go index 45f0c9ed1..f3705916d 100644 --- a/cmd/erasure.go +++ b/cmd/erasure.go @@ -81,14 +81,6 @@ func (er erasureObjects) SetDriveCount() int { func (er erasureObjects) Shutdown(ctx context.Context) error { // Add any object layer shutdown activities here. closeStorageDisks(er.getDisks()) - select { - case _, ok := <-er.mrfOpCh: - if ok { - close(er.mrfOpCh) - } - default: - close(er.mrfOpCh) - } return nil }