summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-02 13:41:35 +0100
committerSimon Rettberg2017-11-02 13:41:35 +0100
commit1587f73c38c9228a1a93889aae6351eff891cbe8 (patch)
tree4a43804793d1c5c3a1d0566c827e7cde8bac3c6b /conf
parent[FUSE] Fix printf warning for logadd call (diff)
downloaddnbd3-1587f73c38c9228a1a93889aae6351eff891cbe8.tar.gz
dnbd3-1587f73c38c9228a1a93889aae6351eff891cbe8.tar.xz
dnbd3-1587f73c38c9228a1a93889aae6351eff891cbe8.zip
[SERVER] Support finer control over replication when a proxy connects to a proxy
Introduce new flag in "select image" message to tell the uplink server whether we have background replication enabled or not. Also reject a connecting proxy if the connecting proxy uses BGR but we don't, as this would basically force the image to be replicated locally too.
Diffstat (limited to 'conf')
-rw-r--r--conf/server.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/server.conf b/conf/server.conf
index c32d907..b751dbe 100644
--- a/conf/server.conf
+++ b/conf/server.conf
@@ -11,6 +11,8 @@ clientPenalty=0
isProxy=true
; if proxy is true and an image is incomplete, should idle bandwidth be used to replicate missing blocks?
backgroundReplication=true
+; if isProxy==true and another proxy requests and image that we don't have, should we ask our alt-servers for it?
+lookupMissingForProxy=true
; if true (which is the default), images will automatically be removed from the list if they can't be accessed
removeMissingImages=true
; timeout in ms for send/recv on connections to uplink servers (used for replication)