Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for locked (0.19 sec)

  1. cmd/bucket-object-lock.go

    // enforceRetentionForDeletion checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    func enforceRetentionForDeletion(ctx context.Context, objInfo ObjectInfo) (locked bool) {
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    	if lhold.Status.Valid() && lhold.Status == objectlock.LegalHoldOn {
    		return true
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    			if i.debug {
    				if obj.VersionID != "" {
    					console.Debugf(applyVersionActionsLogPrefix+" lifecycle: %s v(%s) is locked, not deleting\n", obj.Name, obj.VersionID)
    				} else {
    					console.Debugf(applyVersionActionsLogPrefix+" lifecycle: %s is locked, not deleting\n", obj.Name)
    				}
    			}
    			// add this version back to remaining versions for
    			// subsequent lifecycle policy applications
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  3. cmd/global-heal.go

    			lc, err = globalLifecycleSys.Get(bucket)
    			if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bucket}) {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    			// Check if bucket is object locked.
    			lr, err = globalBucketObjectLockSys.Get(bucket)
    			if err != nil {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    			rcfg, err = getReplicationConfig(ctx, bucket)
    			if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  4. cmd/erasure-server-pool-decom.go

    		return err
    	}
    
    	// if no update is needed return right away.
    	if !update {
    		z.poolMetaMutex.Lock()
    		z.poolMeta = meta
    		z.poolMetaMutex.Unlock()
    	} else {
    		newMeta := newPoolMeta(z, meta)
    		if err = newMeta.save(ctx, z.serverPools); err != nil {
    			return err
    		}
    		z.poolMetaMutex.Lock()
    		z.poolMeta = newMeta
    		z.poolMetaMutex.Unlock()
    	}
    
    	pools := meta.returnResumablePools()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  5. cmd/iam-object-store.go

    	// removing stale entries from the existing map.
    	iamOS.Lock()
    	defer iamOS.Unlock()
    	iamOS.iamCache.iamSTSAccountsMap = stsAccountsFromStore
    	iamOS.iamCache.iamSTSPolicyMap = stsAccPoliciesFromStore
    
    	return nil
    }
    
    // Assumes cache is locked by caller.
    func (iamOS *IAMObjectStore) loadAllFromObjStore(ctx context.Context, cache *iamCache) error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    	// Retention configuration, needed to be passed along with lifecycle if set.
    	Retention lock.Retention `msg:"-"`
    
    	// Replication configuration
    	Replication replicationConfig `msg:"-"`
    
    	// StopDiskAtLimit will stop listing on each disk when limit number off objects has been returned.
    	StopDiskAtLimit bool
    
    	// pool and set of where the cache is located.
    	pool, set int
    }
    
    func init() {
    	gob.Register(listPathOptions{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    type IAMStorageAPI interface {
    	// The role of the read-write lock is to prevent go routines from
    	// concurrently reading and writing the IAM storage. The (r)lock()
    	// functions return the iamCache. The cache can be safely written to
    	// only when returned by `lock()`.
    	lock() *iamCache
    	unlock()
    	rlock() *iamCache
    	runlock()
    	getUsersSysType() UsersSysType
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/erasure-server-pool-rebalance.go

    			ok = true
    		}
    	}
    	if ok {
    		lock := z.serverPools[0].NewNSLock(minioMetaBucket, rebalMetaName)
    		lkCtx, err := lock.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			rebalanceLogIf(ctx, fmt.Errorf("failed to acquire write lock on %s/%s: %w", minioMetaBucket, rebalMetaName, err))
    			return err
    		}
    		defer lock.Unlock(lkCtx)
    
    		ctx = lkCtx.Context()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    			wg.Add(1)
    			go func(i int, endpoint Endpoint) {
    				defer wg.Done()
    
    				lk.Lock()
    				// Only add lockers only one per endpoint and per erasure set.
    				if locker, ok := erasureLockers[endpoint.Host]; ok && !lockerEpSet.Contains(endpoint.Host) {
    					lockerEpSet.Add(endpoint.Host)
    					s.erasureLockers[i] = append(s.erasureLockers[i], locker)
    				}
    				lk.Unlock()
    			}(i, endpoints.Endpoints[i*setDriveCount+j])
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  10. docs/changelogs/changelog_4x.md

        impacts VM-wide behavior.
    
     *  New: Reduce contention for applications that make a very high number of concurrent requests.
        Previously OkHttp used its connection pool as a lock when making changes to connections and
        calls. With this change each connection is locked independently.
    
     *  Upgrade: [Okio 2.7.0][okio_2_7_0].
    
        ```kotlin
        implementation("com.squareup.okio:okio:2.7.0")
        ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top