Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for cunlock (1.04 sec)

  1. cmd/metrics-resource.go

    		updateDriveIOStats(dm.IOStats, latestStats, labels)
    		latestDriveStats[d] = dm.IOStats
    	}
    	lastDriveStatsRefresh = time.Now().UTC()
    	latestDriveStatsMu.Unlock()
    
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    	for _, d := range localDrives {
    		di, err := d.DiskInfo(GlobalContext, DiskInfoOptions{})
    		labels := map[string]string{"drive": di.Endpoint}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. cmd/api-router.go

    	globalObjLayerMutex.RLock()
    	defer globalObjLayerMutex.RUnlock()
    	return globalHTTPServer
    }
    
    func setHTTPServer(h *xhttp.Server) {
    	globalObjLayerMutex.Lock()
    	globalHTTPServer = h
    	globalObjLayerMutex.Unlock()
    }
    
    func newConsoleServerFn() *consoleapi.Server {
    	globalObjLayerMutex.RLock()
    	defer globalObjLayerMutex.RUnlock()
    	return globalConsoleSrv
    }
    
    func setConsoleSrv(srv *consoleapi.Server) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                    Throwable t) {
                // record the error and mark the project as failed
                Clock clock = getClock(mavenProject);
                buildContext.getResult().addException(t);
                buildContext
                        .getResult()
                        .addBuildSummary(new BuildFailure(mavenProject, clock.execTime(), clock.wallTime(), t));
    
                // notify listeners about "soft" project build failures only
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		// - xl.meta metadata is still verified for quorum under lock()
    		//   however writing the response doesn't need to serialize
    		//   concurrent writers
    		unlockOnDefer = true
    		nsUnlocker = func() { lock.RUnlock(lkctx) }
    	}
    
    	fi, metaArr, onlineDisks, err := er.getObjectFileInfo(ctx, bucket, object, opts, true)
    	if err != nil {
    		return nil, toObjectErr(err, bucket, object)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  5. cmd/iam.go

    	bootstrapTraceMsg("IAM initialization started")
    	globalServerConfigMu.RLock()
    	s := globalServerConfig
    	globalServerConfigMu.RUnlock()
    
    	sys.Lock()
    	sys.iamRefreshInterval = iamRefreshInterval
    	sys.Unlock()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	var (
    		openidInit bool
    		ldapInit   bool
    		authNInit  bool
    		authZInit  bool
    	)
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
  6. cmd/erasure-multipart-conditional_test.go

    	z.serverPools[0].erasureDisksMu.Lock()
    	xl.getDisks = func() []StorageAPI {
    		for i := range erasureDisks[:8] {
    			erasureDisks[i] = nil
    		}
    		return erasureDisks
    	}
    	z.serverPools[0].erasureDisksMu.Unlock()
    
    	t.Run("if-none-match with read quorum failure", func(t *testing.T) {
    		// Test Case 1: if-none-match (create only if doesn't exist)
    		// With if-none-match: *, this should only succeed if object doesn't exist.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	}
    
    	ctx = plkctx.Context()
    	defer partIDLock.Unlock(plkctx)
    
    	// Read lock for upload id, only held while reading the upload metadata.
    	uploadIDRLock := er.NewNSLock(bucket, pathJoin(object, uploadID))
    	rlkctx, err := uploadIDRLock.GetRLock(ctx, globalOperationTimeout)
    	if err != nil {
    		return PartInfo{}, err
    	}
    	ctx = rlkctx.Context()
    	defer uploadIDRLock.RUnlock(rlkctx)
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
  8. schema/relationship.go

    		foreignField.GORMDataType = primaryFields[idx].GORMDataType
    		if foreignField.Size == 0 {
    			foreignField.Size = primaryFields[idx].Size
    		}
    		schema.Relationships.Mux.Unlock()
    		if schema != foreignField.Schema {
    			foreignField.Schema.Relationships.Mux.Unlock()
    		}
    
    		relation.References = append(relation.References, &Reference{
    			PrimaryKey:    primaryFields[idx],
    			ForeignKey:    foreignField,
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 16 04:11:05 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  9. cmd/data-scanner-metric.go

    		c2 := c.clone()
    		c = &c2
    	}
    	p.cycleInfoMu.Lock()
    	p.cycleInfo = c
    	p.cycleInfoMu.Unlock()
    }
    
    // getCycle returns the current cycle metrics.
    // If not nil, the returned value can safely be modified.
    func (p *scannerMetrics) getCycle() *currentScannerCycle {
    	p.cycleInfoMu.Lock()
    	defer p.cycleInfoMu.Unlock()
    	if p.cycleInfo == nil {
    		return nil
    	}
    	c := p.cycleInfo.clone()
    	return &c
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 01 06:06:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. cmd/admin-router.go

    		if globalIsDistErasure {
    			// Top locks
    			adminRouter.Methods(http.MethodGet).Path(adminVersion + "/top/locks").HandlerFunc(adminMiddleware(adminAPI.TopLocksHandler))
    			// Force unlocks paths
    			adminRouter.Methods(http.MethodPost).Path(adminVersion+"/force-unlock").
    				Queries("paths", "{paths:.*}").HandlerFunc(adminMiddleware(adminAPI.ForceUnlockHandler))
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top