Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for fix (0.19 sec)

  1. internal/config/config.go

    		}
    		if _, ok := validKVS.Lookup(kv.Key); !ok {
    			nkv = append(nkv, kv)
    		}
    	}
    	if len(nkv) > 0 {
    		return Errorf(
    			"found invalid keys (%s) for '%s' sub-system, use 'mc admin config reset myminio %s' to fix invalid keys", nkv.String(), subSys, subSys)
    	}
    	return nil
    }
    
    // LookupWorm - check if worm is enabled
    func LookupWorm() (bool, error) {
    	return ParseBool(env.Get(EnvWorm, EnableOff))
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2-legacy.go

    	}
    
    	// Clear omitempty fields:
    	if j.ObjectV2 != nil && len(j.ObjectV2.PartIndices) > 0 {
    		j.ObjectV2.PartIndices = j.ObjectV2.PartIndices[:0]
    	}
    	o, err = j.UnmarshalMsg(bts)
    
    	// Fix inconsistent x-minio-internal-replication-timestamp by converting to UTC.
    	// Fixed in version 2 or later
    	if err == nil && j.Type == DeleteType && v < 2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. VULNERABILITY_REPORT.md

    - Whether the reported vulnerability exists.
    - The conditions that are required such that the vulnerability can be exploited.
    - The steps required to fix the vulnerability.
    
    In general, if the vulnerability exists in one of the MinIO code bases
    itself - not in a code dependency - then MinIO will, if possible, fix
    the vulnerability or implement reasonable countermeasures such that the
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types.go

    	"gopkg.in/yaml.v3"
    )
    
    //go:generate msgp -file $GOFILE
    //msgp:ignore BatchJobYamlErr
    
    // BatchJobYamlErr can be used to return yaml validation errors with line,
    // column information guiding user to fix syntax errors
    type BatchJobYamlErr struct {
    	line, col int
    	msg       string
    }
    
    // message returns the error message excluding line, col information.
    // Intended to be used in unit tests.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. .github/PULL_REQUEST_TEMPLATE.md

    ## Description
    
    
    ## Motivation and Context
    
    
    ## How to test this PR?
    
    
    ## Types of changes
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Optimization (provides speedup with no functional changes)
    - [ ] Breaking change (fix or feature that would cause existing functionality to change)
    
    ## Checklist:
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 14 17:29:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  6. cmd/postpolicyform.go

    			kvs = mv.Value.(jstream.KVS)
    			for _, kv := range kvs {
    				if sset.Contains(kv.Key) {
    					// Reject duplicate conditions or expiration.
    					return nil, fmt.Errorf("input policy has multiple %s, please fix your client code", kv.Key)
    				}
    				sset.Add(kv.Key)
    			}
    			e.Encode(kvs)
    		}
    	}
    	return &buf, d.Err()
    }
    
    // parsePostPolicyForm - Parse JSON policy string into typed PostPolicyForm structure.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common.go

    				dataErrs[i] = errFileCorrupt
    				continue
    			}
    
    			if !meta.Deleted {
    				if len(meta.Erasure.Distribution) != len(onlineDisks) {
    					// Erasure distribution is not the same as onlineDisks
    					// attempt a fix if possible, assuming other entries
    					// might have the right erasure distribution.
    					partsMetadata[i] = FileInfo{}
    					dataErrs[i] = errFileCorrupt
    					continue
    				}
    			}
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    	go removeAll(pathJoin(diskPath, minioMetaTmpBucket+"-old"))
    
    	// Renames and schedules for purging all bucket metacache.
    	go renameAllBucketMetacache(diskPath)
    }
    
    // Following error message is added to fix a regression in release
    // RELEASE.2018-03-16T22-52-12Z after migrating v1 to v2 to v3. This
    // migration failed to capture '.This' field properly which indicates
    // the disk UUID association. Below error message is returned when
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    	return decodeVersions(buf, versions, func(i int, hdr, meta []byte) error {
    		ver := &x.versions[i]
    		_, err = ver.header.unmarshalV(headerV, hdr)
    		if err != nil {
    			return err
    		}
    		ver.meta = meta
    
    		// Fix inconsistent x-minio-internal-replication-timestamp by loading and reindexing.
    		if metaV < 2 && ver.header.Type == DeleteType {
    			// load (and convert) version.
    			version, err := x.getIdx(i)
    			if err == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top