Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for decrease (0.24 sec)

  1. cmd/dynamic-timeouts.go

    package cmd
    
    import (
    	"math"
    	"sync"
    	"sync/atomic"
    	"time"
    )
    
    const (
    	dynamicTimeoutIncreaseThresholdPct = 0.33 // Upper threshold for failures in order to increase timeout
    	dynamicTimeoutDecreaseThresholdPct = 0.10 // Lower threshold for failures in order to decrease timeout
    	dynamicTimeoutLogSize              = 16
    	maxDuration                        = math.MaxInt64
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. internal/lock/lock_test.go

    		t.Fatal(err)
    	}
    	isClosed := rlk.IsClosed()
    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Increase reference count to 2.
    	rlk.IncLockRef()
    
    	isClosed = rlk.IsClosed()
    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Decrease reference count by 1.
    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	isClosed = rlk.IsClosed()
    	if isClosed {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  3. cmd/dynamic-timeouts_test.go

    		timeout.LogSuccess(20 * time.Second)
    	}
    
    	adjusted := timeout.Timeout()
    
    	if initial <= adjusted {
    		t.Errorf("Failure to decrease timeout, expected %v to be less than %v", adjusted, initial)
    	}
    }
    
    func TestDynamicTimeoutDualDecrease(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    	for i := 0; i < dynamicTimeoutLogSize; i++ {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/minio-bucket.json

              "exemplar": true,
              "expr": "sum by (bucket) (increase(minio_bucket_usage_object_total{job=\"$scrape_jobs\"}[$__rate_interval]))",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{bucket}}",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeRegions": [],
          "title": "Objects Increase Rate",
          "tooltip": {
            "shared": true,
    Json
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Tue Feb 20 09:45:00 GMT 2024
    - 71.4K bytes
    - Viewed (1)
  5. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

              },
              "exemplar": true,
              "expr": "sum by (bucket) (increase(minio_bucket_usage_object_total{job=\"$scrape_jobs\"}[$__rate_interval]))",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{bucket}}",
              "refId": "A"
            }
          ],
          "title": "Objects Increase Rate",
          "type": "timeseries"
        },
        {
          "datasource": {
    Json
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 102K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    // DeleteBucketOptions provides options for DeleteBucket calls.
    type DeleteBucketOptions struct {
    	NoLock     bool             // does not lock the delete bucket call if set to 'true'
    	NoRecreate bool             // do not recreate bucket on delete failures
    	Force      bool             // Force deletion
    	SRDeleteOp SRBucketDeleteOp // only when site replication is enabled
    }
    
    // BucketOptions provides options for ListBuckets and GetBucketInfo call.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  7. cmd/bucket-metadata-sys.go

    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    
    			_, _ = sys.objAPI.HealBucket(ctx, buckets[index].Name, madmin.HealOpts{Recreate: true})
    			meta, err := loadBucketMetadata(ctx, sys.objAPI, buckets[index].Name)
    			if err != nil {
    				return err
    			}
    			bucketMetas[index] = meta
    			return nil
    		}, index)
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  8. cmd/notification.go

    					reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", addr.String())
    					ctx := logger.SetReqInfo(ctx, reqInfo)
    					peersLogOnceIf(ctx, err, addr.String())
    				}
    				// Wait for a minimum of 100ms and dynamically increase this based on number of attempts.
    				if i < g.retryCount-1 {
    					time.Sleep(100*time.Millisecond + time.Duration(r.Float64()*float64(time.Second)))
    				}
    				continue
    			}
    			break
    		}
    	}()
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  9. cmd/peer-s3-server.go

    		}, index)
    	}
    
    	var recreate bool
    	errs := g.Wait()
    	for index, err := range errs {
    		if errors.Is(err, errVolumeNotEmpty) {
    			recreate = true
    		}
    		if err == nil && recreate {
    			// ignore any errors
    			localDrives[index].MakeVol(ctx, bucket)
    		}
    	}
    
    	// Since we recreated buckets and error was `not-empty`, return not-empty.
    	if recreate {
    		return errVolumeNotEmpty
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. docs/distributed/DECOMMISSION.md

    ## TODO
    
    - Richer progress UI is not present at the moment, this will be addressed in subsequent releases. Currently however a RATE of data transfer and usage increase is displayed via `mc`.
    - Transitioned Hot Tier's as pooled setups are not currently supported, attempting to decommission buckets with ILM Transition will be rejected by the server. This will be supported in future releases.
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 11 14:59:49 GMT 2022
    - 8.3K bytes
    - Viewed (0)
Back to top