[ARVADOS] created: 21bcf992a7e4eb806ea45c851356b2a50015fa65

git at public.curoverse.com git at public.curoverse.com
Wed Nov 4 16:14:15 EST 2015


        at  21bcf992a7e4eb806ea45c851356b2a50015fa65 (commit)


commit 21bcf992a7e4eb806ea45c851356b2a50015fa65
Author: radhika <radhika at curoverse.com>
Date:   Wed Nov 4 16:13:29 2015 -0500

    7719: permit never-delte to be set to false; add warning that datamanager is not yet fully tested.

diff --git a/services/keepstore/keepstore.go b/services/keepstore/keepstore.go
index 2528f6d..7525441 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 != "" {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list