Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for printEndpointError (0.1 sec)

  1. cmd/prepare-storage.go

    	"fmt"
    	"net/http"
    	"net/url"
    	"path/filepath"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    )
    
    var printEndpointError = func() func(Endpoint, error, bool) {
    	var mutex sync.Mutex
    	printOnce := make(map[Endpoint]map[string]int)
    
    	return func(endpoint Endpoint, err error, once bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  2. cmd/erasure-sets.go

    			if err != nil {
    				if endpoint.IsLocal && errors.Is(err, errUnformattedDisk) {
    					globalBackgroundHealState.pushHealLocalDisks(endpoint)
    				} else if !errors.Is(err, errDriveIsRoot) {
    					if log {
    						printEndpointError(endpoint, err, true)
    					}
    				}
    				return
    			}
    			if disk.IsLocal() {
    				h := disk.Healing()
    				if h != nil && !h.Finished {
    					globalBackgroundHealState.pushHealLocalDisks(disk.Endpoint())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  3. cmd/background-newdisks-heal-ops.go

    						globalBackgroundHealState.setDiskHealingStatus(disk, false)
    						timedout := OperationTimedOut{}
    						if !errors.Is(err, context.Canceled) && !errors.As(err, &timedout) && !errors.Is(err, errRetryHealing) {
    							printEndpointError(disk, err, false)
    						}
    						return
    					}
    					// Only upon success pop the healed disk.
    					globalBackgroundHealState.popHealLocalDisks(disk)
    				}(disk)
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top