]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
storage #596: announce 'tolerates-immutable-read-overrun' to the version announcement...
authorBrian Warner <warner@lothar.com>
Mon, 9 Feb 2009 02:56:02 +0000 (19:56 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 9 Feb 2009 02:56:02 +0000 (19:56 -0700)
src/allmydata/introducer/client.py
src/allmydata/storage.py

index 7c7e8959d3de3fe1b488cab401345b03637ba5fa..dac8bbd598590908f4ed4dbf41c39a354dfa26f6 100644 (file)
@@ -32,7 +32,9 @@ class RemoteServiceConnector:
 
     VERSION_DEFAULTS = {
         "storage": { "http://allmydata.org/tahoe/protocols/storage/v1" :
-                     { "maximum-immutable-share-size": 2**32 },
+                     { "maximum-immutable-share-size": 2**32,
+                       "tolerates-immutable-read-overrun": False,
+                       },
                      "application-version": "unknown: no get_version()",
                      },
         "stub_client": { },
index 0a15a1238f6dba805faca9095c532ef053c836a4..8de5be3d83be183956be9ff162911a05ad8bf770 100644 (file)
@@ -961,7 +961,9 @@ class StorageServer(service.MultiService, Referenceable):
             # guess.
             remaining_space = 2**64
         version = { "http://allmydata.org/tahoe/protocols/storage/v1" :
-                    { "maximum-immutable-share-size": remaining_space },
+                    { "maximum-immutable-share-size": remaining_space,
+                      "tolerates-immutable-read-overrun": True,
+                      },
                     "application-version": str(allmydata.__version__),
                     }
         return version