commit | ec60db6beef10bb226325cb7b7ce1cc00c774d79 | [log] [tgz] |
---|---|---|
author | Andrew Gaul <gaul@apache.org> | Tue May 06 17:00:34 2014 -0700 |
committer | Andrew Gaul <gaul@apache.org> | Tue May 06 17:09:48 2014 -0700 |
tree | 9221714ae4d5a314c50e3a91134889495a2c9cd5 | |
parent | a9ad08d7f2139dc2a2ad0cdeecf2c80f4fe5e346 [diff] |
Mark Swift blobstores as eventually consistent This allows tests to retry correctly. Most blobstores, including Swift[1], offer eventual consistency, although Azure[2] and the jclouds test blobstores offer strong consistency. [1] https://lists.launchpad.net/openstack/msg06788.html [2] http://blogs.msdn.com/b/windowsazure/archive/2011/11/21/windows-azure-storage-a-highly-available-cloud-storage-service-with-strong-consistency.aspx
diff --git a/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedBlobStoreContext.java b/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedBlobStoreContext.java index 11e54d6..6848b7f 100644 --- a/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedBlobStoreContext.java +++ b/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedBlobStoreContext.java
@@ -131,7 +131,7 @@ @Override public ConsistencyModel getConsistencyModel() { - return ConsistencyModel.STRICT; + return ConsistencyModel.EVENTUAL; } @Override