Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Fix (0.13 sec)

  1. cmd/server-rlimit.go

    		return err
    	}
    
    	if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName {
    		logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"",
    			maxLimit)
    	}
    
    	if err = sys.SetMaxOpenFileLimit(maxLimit, maxLimit); err != nil {
    		return err
    	}
    
    	// Set max memory limit as current memory limit.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/storage-errors.go

    var errBitrotHashAlgoInvalid = StorageErr("bit-rot hash algorithm is invalid")
    
    // errCrossDeviceLink - rename across devices not allowed.
    var errCrossDeviceLink = StorageErr("Rename across devices not allowed, please fix your backend configuration")
    
    // errLessData - returned when less data available than what was requested.
    var errLessData = StorageErr("less data available than what was requested")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. docs/debugging/reorder-disks/main.go

    	flag.Parse()
    
    	localDisks, err := filterLocalDisks(node, args)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	if len(localDisks) == 0 {
    		log.Fatal("Fix --local-node-name or/and --args to select local disks.")
    	}
    
    	format, err := getFormatJSON(localDisks[0].path)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	setSize := len(format.XL.Sets[0])
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. cmd/format-erasure_test.go

    package cmd
    
    import (
    	"crypto/sha256"
    	"encoding/hex"
    	"encoding/json"
    	"os"
    	"reflect"
    	"testing"
    )
    
    // tests fixFormatErasureV3 - fix format.json on all disks.
    func TestFixFormatV3(t *testing.T) {
    	erasureDirs, err := getRandomDisks(8)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, erasureDir := range erasureDirs {
    		defer os.RemoveAll(erasureDir)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. internal/lock/lock_windows.go

    	//
    	// The MSDN docs appear to say that a normal path that is 248 bytes long
    	// will work; empirically the path must be less then 248 bytes long.
    	if len(path) < 248 {
    		// Don't fix. (This is how Go 1.7 and earlier worked,
    		// not automatically generating the \\?\ form)
    		return path
    	}
    
    	// The extended form begins with \\?\, as in
    	// \\?\c:\windows\foo.txt or \\?\UNC\server\share\foo.txt.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. cni/test/install_cni.go

    ) {
    	ztunnelAddr := "/tmp/ztfoo"
    	cniEventAddr := "/tmp/cnieventfoo"
    	defer os.Remove(ztunnelAddr)
    	defer os.Remove(cniEventAddr)
    
    	// "fake" constant, overridable for tests
    	// TODO this is gross, fix this
    	constants.ServiceAccountPath = tempK8sSvcAcctDir
    
    	installConfig := config.Config{
    		InstallConfig: config.InstallConfig{
    			CNIEventAddress:    cniEventAddr,
    			ZtunnelUDSAddress:  ztunnelAddr,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/slice.go

    	//	#define A #define B(x) x
    	// and
    	//	#define A #define B (x) x
    	// The first definition of B has an argument, the second doesn't. Because we let
    	// text/scanner strip the blanks for us, this is extremely rare, hard to fix, and not worth it.
    	return s.pos
    }
    
    func (s *Slice) Close() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    		// with V1 format version.
    		if len(format.Erasure.Sets) > 1 {
    			continue
    		}
    		if format.Erasure.This == "" {
    			return true
    		}
    	}
    	return false
    }
    
    // fixFormatErasureV3 - fix format Erasure configuration on all disks.
    func fixFormatErasureV3(storageDisks []StorageAPI, endpoints Endpoints, formats []*formatErasureV3) error {
    	g := errgroup.WithNErrs(len(formats))
    	for i := range formats {
    		i := i
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	if err != nil {
    		if globalDNSConfig != nil {
    			if err2 := globalDNSConfig.Put(bucket); err2 != nil {
    				replLogIf(ctx, fmt.Errorf("Unable to restore bucket DNS entry %w, please fix it manually", err2))
    			}
    		}
    		return err
    	}
    
    	globalNotificationSys.DeleteBucketMetadata(ctx, bucket)
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/xl-storage.go

    		// is not inlined to make sure we return correct errors
    		// during HeadObject().
    
    		// Healing must not come here and return error, since healing
    		// deals with dataDirs directly, let healing fix things automatically.
    		if lerr := Access(pathJoin(volumeDir, path, fi.DataDir)); lerr != nil {
    			if os.IsNotExist(lerr) {
    				// Data dir is missing we must return errFileCorrupted
    				return FileInfo{}, errFileCorrupt
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top