direct_client not passing args between some functions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The call to _get_direct_
has several of its args =None instead of set to the value passed
to direct_get_account. Similarly it is not passing the timeout args.
The same applies to _get_direct_
direct_
The direct_
and this bug will have limited impact on it. The marker,
maintained in reap_container, is ignored by direct_
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_
the next 10K objects even though it sets marker=None (assuming the
first 10K objects were successfully deleted).
Changed in swift: | |
milestone: | none → 2.2.0-rc1 |
status: | Fix Committed → Fix Released |
Changed in swift: | |
milestone: | 2.2.0-rc1 → 2.2.0 |
So at our organization we make use of these internal/direct clients for additional book-keeping and ops tools where the limit being ignored is actually a bit problematic. A workaround is to use the _direct_ get_account_ container. As is, it looks like a copy paste error where the internal methods were copy pasted to the 'public' method. Should be a straightforward fix.