The call to _get_direct_account_container in direct_get_account has several of its args =None instead of set to the value passed to direct_get_account. The same applies to _get_direct_account_container in direct_get_container. The direct_get_container is only called by the account-reaper and this bug will have limited impact on it. The marker, maintained in reap_container, is ignored by direct_get_container. This is not as bad as it sounds, if the account-reaper successfully deletes the first 10K objects, assuming the container has > 10K objects, the next call to direct_get_container will in fact return the next 10K objects even though it sets marker=None (assuming the first 10K objects were successfully deleted). This patch also updates test_direct_get_account and test_direct_get_container to ensure the appropriate args are included in the connection query_string. Closes-Bug: #1369558 Change-Id: If1c8aa1240d38354ebc9b1ebca92dc1c8c36cb5f
24 KiB
24 KiB