Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lockRefreshed (0.1 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top