Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for shale (0.29 sec)

  1. cmd/bucket-targets.go

    				sys.hMutex.Unlock()
    			}
    			hcTimer.Reset(defaultHealthCheckDuration)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // periodically rebuild the healthCheck map from list of targets to clear
    // out stale endpoints
    func (sys *BucketTargetSys) reloadHealthCheckers(ctx context.Context) {
    	m := make(map[string]epHealth)
    	tgts := sys.ListTargets(ctx, "", "")
    	sys.hMutex.Lock()
    	for _, t := range tgts {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    			return objInfo, err
    		}
    		replcfg, err = getReplicationConfig(ctx, bucket)
    		if err != nil {
    			return objInfo, err
    		}
    	}
    
    	// expiration attempted on a bucket with no lifecycle
    	// rules shall be rejected.
    	if lc == nil && opts.Expiration.Expire {
    		if opts.VersionID != "" {
    			return objInfo, VersionNotFound{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: opts.VersionID,
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrOverlappingConfigs: {
    		Code:           "InvalidArgument",
    		Description:    "Configurations overlap. Configurations on the same bucket cannot share a common event type.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsupportedNotification: {
    		Code:           "UnsupportedNotification",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/object-handlers.go

    var getRemoteInstanceClient = func(r *http.Request, host string) (*miniogo.Core, error) {
    	cred := getReqAccessCred(r, globalSite.Region)
    	// In a federated deployment, all the instances share config files
    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    		epDeplIDMap[p.Endpoint] = p.DeploymentID
    	}
    	// fix stale ARN's in replication config and endpoint mismatch between site config and
    	// targets associated to this config.
    	if rcfg != nil {
    		for _, rule := range rcfg.Rules {
    			if rule.Status != sreplication.Status(replication.Disabled) {
    				tgt, isValidARN := arnTgtMap[rule.Destination.ARN] // detect stale ARN in replication config
    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)
  6. cmd/test-utils_test.go

    	objTest(objLayer, ErasureTestStr, fsDirs, t)
    	defer removeRoots(fsDirs)
    }
    
    // Special object test type for stale files situations.
    type objTestStaleFilesType func(obj ObjectLayer, instanceType string, dirs []string, t *testing.T)
    
    // ExecObjectLayerStaleFilesTest - executes object layer tests those leaves stale
    // files/directories under .minio/tmp.  Creates Erasure ObjectLayer instance and runs test for Erasure layer.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    		if dobj.TargetArn != "" && dobj.TargetArn != tgtEntry.Arn {
    			continue
    		}
    		tgtClnt := globalBucketTargetSys.GetRemoteTargetClient(bucket, tgtEntry.Arn)
    		if tgtClnt == nil {
    			// Skip stale targets if any and log them to be missing at least once.
    			replLogOnceIf(ctx, fmt.Errorf("failed to get target for bucket:%s arn:%s", bucket, tgtEntry.Arn), tgtEntry.Arn)
    			sendEvent(eventArgs{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/common-main.go

    	gob.Register(madmin.TimeInfo{})
    	gob.Register(madmin.XFSErrorConfigs{})
    	gob.Register(map[string]string{})
    	gob.Register(map[string]interface{}{})
    
    	// All minio-go and madmin-go API operations shall be performed only once,
    	// another way to look at this is we are turning off retries.
    	minio.MaxRetry = 1
    	madmin.MaxRetry = 1
    
    	currentReleaseTime, _ = GetCurrentReleaseTime()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  9. cmd/admin-handlers.go

    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    	stale := r.Form.Get("stale") == "true" // list also stale locks
    
    	peerLocks := globalNotificationSys.GetLocks(ctx, r)
    
    	topLocks := topLockEntries(peerLocks, stale)
    
    	// Marshal API response upto requested count.
    	if len(topLocks) > count && count > 0 {
    		topLocks = topLocks[:count]
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  10. cmd/server-main.go

    	//  - Write quorum not met when upgrading configuration
    	//    version is needed, migration is needed etc.
    	rquorum := InsufficientReadQuorum{}
    	wquorum := InsufficientWriteQuorum{}
    
    	// One of these retriable errors shall be retried.
    	return errors.Is(err, errDiskNotFound) ||
    		errors.Is(err, errConfigNotFound) ||
    		errors.Is(err, context.DeadlineExceeded) ||
    		errors.Is(err, errErasureWriteQuorum) ||
    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)
Back to top