Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Rockarts (0.51 sec)

  1. cmd/local-locker.go

    				delete(l.lockUID, mapID)
    				idx++
    				continue
    			}
    			reply = true
    			l.removeEntry(resource, dsync.LockArgs{UID: args.UID}, &lris)
    			idx++
    		}
    	}
    }
    
    func (l *localLocker) Refresh(ctx context.Context, args dsync.LockArgs) (refreshed bool, err error) {
    	select {
    	case <-ctx.Done():
    		return false, ctx.Err()
    	default:
    		l.mutex.Lock()
    		defer l.mutex.Unlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    	}()
    }
    
    func forceUnlock(ctx context.Context, ds *Dsync, id string) {
    	ctx, cancel := context.WithTimeout(ctx, ds.Timeouts.ForceUnlockCall)
    	defer cancel()
    
    	restClnts, _ := ds.GetLockers()
    
    	args := LockArgs{
    		UID: id,
    	}
    
    	var wg sync.WaitGroup
    	for index, c := range restClnts {
    		wg.Add(1)
    		// Send refresh request to all nodes
    		go func(index int, c NetLocker) {
    			defer wg.Done()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	}
    
    	z, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    
    	var args dsync.LockArgs
    	var lockers []dsync.NetLocker
    	for _, path := range strings.Split(vars["paths"], ",") {
    		if path == "" {
    			continue
    		}
    		args.Resources = append(args.Resources, path)
    	}
    
    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)
Back to top