Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lockNotFound (4.66 sec)

  1. internal/dsync/drwmutex.go

    	// c) timed out
    	//
    	lockNotFound, lockRefreshed := 0, 0
    	done := false
    
    	for i := 0; i < len(restClnts); i++ {
    		select {
    		case refreshResult := <-ch:
    			if refreshResult.offline {
    				continue
    			}
    			if refreshResult.refreshed {
    				lockRefreshed++
    			} else {
    				lockNotFound++
    			}
    			if lockRefreshed >= quorum || lockNotFound > len(restClnts)-quorum {
    				done = true
    			}
    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)
Back to top