clusters need enableInteractiveBranchAccess
As seen in commit 770aac97a7
, a cluster
relies accurate location logs. If long-running processes are serving a
cluster, and one process puts a file, the other process needs to see
what nodes it was stored on when checking if the file is present.
This commit is contained in:
parent
bd3d327d8a
commit
6722a61a21
2 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@ import Annex.UUID
|
|||
import Types.NumCopies
|
||||
import Types.WorkerPool
|
||||
import Annex.WorkerPool
|
||||
import Annex.BranchState
|
||||
import Types.Cluster
|
||||
import CmdLine.Action (startConcurrency)
|
||||
import Utility.ThreadScheduler
|
||||
|
@ -185,6 +186,7 @@ withP2PConnections
|
|||
-> (AcquireP2PConnection -> Annex a)
|
||||
-> Annex a
|
||||
withP2PConnections workerpool proxyconnectionpoolsize clusterconcurrency a = do
|
||||
enableInteractiveBranchAccess
|
||||
myuuid <- getUUID
|
||||
reqv <- liftIO newEmptyTMVarIO
|
||||
relv <- liftIO newEmptyTMVarIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue