Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ForceUnlockHandler (0.33 sec)

  1. cmd/lock-rest-server.go

    	// Consequently, if err != nil, reply is always false
    	_, err := l.ll.RUnlock(context.Background(), *args)
    	return l.makeResp(resp, err)
    }
    
    // ForceUnlockHandler - query expired lock status.
    func (l *lockRESTServer) ForceUnlockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCForceUnlock.NewResponse()
    
    	_, err := l.ll.ForceUnlock(context.Background(), *args)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    			// Force unlocks paths
    			adminRouter.Methods(http.MethodPost).Path(adminVersion+"/force-unlock").
    				Queries("paths", "{paths:.*}").HandlerFunc(adminMiddleware(adminAPI.ForceUnlockHandler))
    		}
    
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/speedtest").HandlerFunc(adminMiddleware(adminAPI.ObjectSpeedTestHandler, noGZFlag))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    }
    
    // PeerLocks holds server information result of one node
    type PeerLocks struct {
    	Addr  string
    	Locks map[string][]lockRequesterInfo
    }
    
    // ForceUnlockHandler force unlocks requested resource
    func (a adminAPIHandlers) ForceUnlockHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ForceUnlockAdminAction)
    	if objectAPI == nil {
    		return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top