Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for detect (0.17 sec)

  1. internal/disk/directio_unsupported.go

    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = false
    
    // OpenBSD, Windows, and illumos do not support O_DIRECT.
    // On Windows there is no documentation on disabling O_DIRECT.
    // For these systems we do not attempt to build the 'directio' dependency since
    // the O_DIRECT symbol may not be exposed resulting in a failed build.
    //
    //
    // On illumos an explicit O_DIRECT flag is not necessary for two primary
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator-remove.go

    	}
    
    	if installed && err != nil {
    		l.LogAndFatal(err)
    	}
    	if !installed && !orArgs.purge {
    		l.LogAndPrintf("Operator controller is not installed in %s namespace (no Deployment detected).", orArgs.operatorNamespace)
    		if !orArgs.force {
    			l.LogAndFatal("Aborting, use --force to override.")
    		}
    	}
    
    	var message string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. cni/pkg/install/install.go

    	// unless it's missing or the contents are not what we expect.
    	if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil {
    		installLog.Infof("missing (or invalid) configuration detected, (re)writing CNI config file at %s", in.cniConfigFilepath)
    		cfgPath, err := createCNIConfigFile(ctx, in.cfg)
    		if err != nil {
    			cniInstalls.With(resultLabel.Value(resultCreateCNIConfigFailure)).Increment()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. internal/disk/stat_linux_32bit.go

    	}
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		warnings = append(warnings, color.YellowBold("- Detected Linux kernel version older than 4.0.0 release, there are some known potential performance problems with this kernel version. MinIO recommends a minimum of 4.x.x linux kernel version for best performance"))
    	}
    
    	maxProcs := runtime.GOMAXPROCS(0)
    	cpuProcs := runtime.NumCPU()
    	if maxProcs < cpuProcs {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  6. cmd/metacache-stream.go

    	}
    	// We have checked if prefix matches, so we can do direct compare.
    	return b.First > prefix
    }
    
    // endedPrefix returns true if the given prefix ends within the block.
    func (b metacacheBlock) endedPrefix(prefix string) bool {
    	if prefix == "" || strings.HasPrefix(b.Last, prefix) {
    		return false
    	}
    
    	// We have checked if prefix matches, so we can do direct compare.
    	return b.Last > prefix
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-idp-ldap.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	// Validate operation
    	operation := mux.Vars(r)["operation"]
    	if operation != "attach" && operation != "detach" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminInvalidArgument), r.URL)
    		return
    	}
    
    	isAttach := operation == "attach"
    
    	// Validate API arguments in body.
    	password := cred.SecretKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/background-newdisks-heal-ops.go

    				healingLogIf(ctx, err)
    			}
    			continue
    		}
    		if t.HealID == tracker.HealID {
    			t.delete(ctx)
    		}
    	}
    
    	return nil
    }
    
    // monitorLocalDisksAndHeal - ensures that detected new disks are healed
    //  1. Only the concerned erasure set will be listed and healed
    //  2. Only the node hosting the disk is responsible to perform the heal
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    	}
    	// Corrupt metadata, last 5 bytes is the checksum, so go a bit further back.
    	trimmed[len(trimmed)-10] += 10
    	if err := xl2.Load(trimmed); err == nil {
    		t.Fatal("metadata corruption not detected")
    	}
    }
    
    // TestUsesDataDir tests xlMetaV2.UsesDataDir
    func TestUsesDataDir(t *testing.T) {
    	vID := uuid.New()
    	dataDir := uuid.New()
    	transitioned := make(map[string][]byte)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    	// Heal the object.
    	hr, err = er.healObject(healCtx, bucket, object, versionID, opts)
    	if errors.Is(err, errFileCorrupt) && opts.ScanMode != madmin.HealDeepScan {
    		// Instead of returning an error when a bitrot error is detected
    		// during a normal heal scan, heal again with bitrot flag enabled.
    		opts.ScanMode = madmin.HealDeepScan
    		hr, err = er.healObject(healCtx, bucket, object, versionID, opts)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top