Fixed the get_accounts listing in client.py to handle 10K+ containers.
Tested with stats-report -d Queried 13103 containers for dispersion reporting, 2m, 0 retries There were 302 overlapping partitions There were 9635 partitions missing one copy. 74.91% of container copies found (28768 of 38403) Sample represents 4.88% of the container partition space
This commit is contained in:
commit
08de47713a
@ -222,7 +222,7 @@ def get_account(url, token, marker=None, limit=None, prefix=None,
|
||||
listing = \
|
||||
get_account(url, token, marker, limit, prefix, http_conn)[1]
|
||||
if listing:
|
||||
rv.extend(listing)
|
||||
rv[1].extend(listing)
|
||||
return rv
|
||||
parsed, conn = http_conn
|
||||
qs = 'format=json'
|
||||
|
Loading…
Reference in New Issue
Block a user