Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for compact (0.18 sec)

  1. cmd/data-scanner.go

    	}
    
    	if !into.Compacted && f.newCache.Info.Name != folder.name {
    		flat := f.newCache.sizeRecursive(thisHash.Key())
    		flat.Compacted = true
    		var compact bool
    		if flat.Objects < dataScannerCompactLeastObject {
    			compact = true
    		} else {
    			// Compact if we only have objects as children...
    			compact = true
    			for k := range into.Children {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    	e, ok := d.Cache[path.Key()]
    	if !ok {
    		return
    	}
    	if e.Compacted {
    		return
    	}
    	// If direct children have more, compact all.
    	if len(e.Children) > limit && compactSelf {
    		flat := d.sizeRecursive(path.Key())
    		flat.Compacted = true
    		d.deleteRecursive(path)
    		d.replaceHashed(path, nil, *flat)
    		return
    	}
    	total := d.totalChildrenRec(path.Key())
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  3. cmd/data-usage_test.go

    		},
    		{
    			// Gets compacted...
    			path:   "bucket/dir1",
    			size:   1302010,
    			objs:   5,
    			oSizes: sizeHistogram{0: 1, 1: 1, 2: 2, 4: 1},
    		},
    		{
    			// Gets compacted at this level...
    			path:   "bucket/dirwithalot/0",
    			size:   filesBelowT,
    			objs:   filesBelowT,
    			oSizes: sizeHistogram{0: filesBelowT},
    		},
    		{
    			// Gets compacted at this level (below obj threshold)...
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    				err = z.AllTierStats.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "AllTierStats")
    					return
    				}
    			}
    		case "c":
    			z.Compacted, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Compacted")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    	// extract the content from response body.
    	getContent, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    
    	// Compare putContent and getContent.
    	c.Assert(string(getContent), putContent)
    }
    
    // TestGetObjectLarge11MiB - Tests validate fetching of an object of size 11MB.
    func (s *TestSuiteCommon) TestGetObjectLarge11MiB(c *check) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/kms-handlers.go

    		if err != nil {
    			writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    		return
    	}
    
    	// 3. Compare generated key with decrypted key
    	if subtle.ConstantTimeCompare(key.Plaintext, decryptedKey) != 1 {
    		response.DecryptionErr = "The generated and the decrypted data key do not match"
    		resp, err := json.Marshal(response)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. internal/s3select/sql/value.go

    	errArithInvalidOperator = errors.New("invalid arithmetic operator")
    	errArithDivideByZero    = errors.New("cannot divide by 0")
    
    	errCmpMismatchedTypes     = errors.New("cannot compare values of different types")
    	errCmpInvalidBoolOperator = errors.New("invalid comparison operator for boolean arguments")
    )
    
    // Value represents a value of restricted type reduced from an
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  8. docs/config/README.md

    scanner can be adjusted by the `mc admin config set alias/ delay=15.0`. By default the value is `10.0`. This means the scanner will sleep *10x* the time each operation takes.
    
    In most setups this will keep the scanner slow enough to not impact overall system performance. Setting the `delay` key to a *lower* value will make the scanner faster and setting it to 0 will make the scanner run at full speed (not recommended in production). Setting it to a higher value will make the scanner slower,...
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    		sha256hex = ""
    	}
    
    	var forceMD5 []byte
    	// Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also
    	// for server that is started with `--no-compat`.
    	if !etag.ContentMD5Requested(r.Header) && (crypto.S3KMS.IsEncrypted(mi.UserDefined) || crypto.SSEC.IsRequested(r.Header) || !globalServerCtxt.StrictS3Compat) {
    		forceMD5 = mustGetUUIDBytes()
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAccessKeyDisabled: {
    		Code:           "InvalidAccessKeyId",
    		Description:    "Your account is disabled; please contact your administrator.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrInvalidArgument: {
    		Code:           "InvalidArgument",
    		Description:    "Invalid argument",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 06 05:26:02 GMT 2024
    - 90.2K bytes
    - Viewed (6)
Back to top