Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lockLossCallback (0.1 sec)

  1. internal/dsync/drwmutex.go

    				if err == nil && noQuorum {
    					// Clean the lock locally and in remote nodes
    					forceUnlock(ctx, dm.clnt, id)
    					// Execute the caller lock loss callback
    					if lockLossCallback != nil {
    						lockLossCallback()
    					}
    					return
    				}
    
    				refreshTimer.Reset(dm.refreshInterval)
    			}
    		}
    	}()
    }
    
    func forceUnlock(ctx context.Context, ds *Dsync, id string) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top