X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a50278e3d0e26bb5d513d0af5da2fb559b112388..743341f8a70b126b82ef3293bd9f6c2bc47ec29a:/services/keepstore/keepstore.go diff --git a/services/keepstore/keepstore.go b/services/keepstore/keepstore.go index 2528f6d6a6..7525441aae 100644 --- a/services/keepstore/keepstore.go +++ b/services/keepstore/keepstore.go @@ -33,10 +33,6 @@ const BlockSize = 64 * 1024 * 1024 // in order to permit writes. const MinFreeKilobytes = BlockSize / 1024 -// Until #6221 is resolved, never_delete must be true. -// However, allow it to be false in testing with TestDataManagerToken -const TestDataManagerToken = "4axaw8zxe0qm22wa6urpp5nskcne8z88cvbupv653y1njyi05h" - // ProcMounts /proc/mounts var ProcMounts = "/proc/mounts" @@ -159,8 +155,9 @@ func main() { &neverDelete, "never-delete", true, - "If set, nothing will be deleted. HTTP 405 will be returned "+ - "for valid DELETE requests.") + "If true, nothing will be deleted. "+ + "Warning: the relevant features in keepstore and data manager have not been extensively tested. "+ + "You should leave this option alone unless you can afford to lose data.") flag.StringVar( &blobSigningKeyFile, "permission-key-file", @@ -257,8 +254,9 @@ func main() { } } - if neverDelete != true && dataManagerToken != TestDataManagerToken { - log.Fatal("never_delete must be true, see #6221") + if neverDelete != true { + log.Print("never-delete is not set. Warning: the relevant features in keepstore and data manager have not " + + "been extensively tested. You should leave this option alone unless you can afford to lose data.") } if blobSigningKeyFile != "" {