20318: Bypass disk cache in keep-rsync.
authorTom Clegg <tom@curii.com>
Thu, 11 Jan 2024 20:51:20 +0000 (15:51 -0500)
committerTom Clegg <tom@curii.com>
Thu, 11 Jan 2024 20:51:20 +0000 (15:51 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

tools/keep-rsync/keep-rsync.go

index 7e519f775ba9bb4d500e578c891a55d50f1fae34..43c6be08225a806a6e72195f0eab3cb1f83ebf02 100644 (file)
@@ -193,6 +193,7 @@ func setupKeepClient(config apiConfig, keepServicesJSON string, isDst bool, repl
                        return kc, 0, err
                }
        }
+       kc.DiskCacheSize = keepclient.DiskCacheDisabled
 
        if isDst {
                // Get default replications value from destination, if it is not already provided