fix word spelling mistake
Change-Id: Ia7b03e52b8d6a334fc2b67c94912effe0e659941
This commit is contained in:
parent
8526d4c5d2
commit
05642d2958
@ -141,7 +141,7 @@ The first line reports that there are 256 partitions with 3 copies in region 1;
|
|||||||
and this is an expected output in this case (single region with 3 replicas) as
|
and this is an expected output in this case (single region with 3 replicas) as
|
||||||
reported by the "Max" value.
|
reported by the "Max" value.
|
||||||
|
|
||||||
However, there is some inbalance in the cluster, more precisely in zone 3. The
|
However, there is some imbalance in the cluster, more precisely in zone 3. The
|
||||||
"Max" reports a maximum of 1 copy in this zone; however 50.00% of the partitions
|
"Max" reports a maximum of 1 copy in this zone; however 50.00% of the partitions
|
||||||
are storing 2 replicas in this zone (which is somewhat expected, because there
|
are storing 2 replicas in this zone (which is somewhat expected, because there
|
||||||
are more disks in this zone).
|
are more disks in this zone).
|
||||||
|
@ -461,7 +461,7 @@ class VersionedWritesContext(WSGIContext):
|
|||||||
def handle_obj_versions_put(self, req, versions_cont, api_version,
|
def handle_obj_versions_put(self, req, versions_cont, api_version,
|
||||||
account_name, object_name):
|
account_name, object_name):
|
||||||
"""
|
"""
|
||||||
Copy current version of object to versions_container before proceding
|
Copy current version of object to versions_container before proceeding
|
||||||
with original request.
|
with original request.
|
||||||
|
|
||||||
:param req: original request.
|
:param req: original request.
|
||||||
@ -486,7 +486,7 @@ class VersionedWritesContext(WSGIContext):
|
|||||||
Handle DELETE requests when in history mode.
|
Handle DELETE requests when in history mode.
|
||||||
|
|
||||||
Copy current version of object to versions_container and write a
|
Copy current version of object to versions_container and write a
|
||||||
delete marker before proceding with original request.
|
delete marker before proceeding with original request.
|
||||||
|
|
||||||
:param req: original request.
|
:param req: original request.
|
||||||
:param versions_cont: container where previous versions of the object
|
:param versions_cont: container where previous versions of the object
|
||||||
|
@ -427,7 +427,7 @@ class VersionedWritesTestCase(VersionedWritesBaseTestCase):
|
|||||||
'CONTENT_LENGTH': '100'})
|
'CONTENT_LENGTH': '100'})
|
||||||
status, headers, body = self.call_vw(req)
|
status, headers, body = self.call_vw(req)
|
||||||
self.assertEqual(status, '201 Created')
|
self.assertEqual(status, '201 Created')
|
||||||
# The middleware now auths the request before the inital GET, the
|
# The middleware now auths the request before the initial GET, the
|
||||||
# same GET that gets the X-Object-Manifest back. So a second auth is
|
# same GET that gets the X-Object-Manifest back. So a second auth is
|
||||||
# now done.
|
# now done.
|
||||||
self.assertEqual(len(self.authorized), 2)
|
self.assertEqual(len(self.authorized), 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user