Actually, the existing method allows to iterate over container IDs only. Do we see a value in creating a method that would iterate over containers themselves, so that the client would not need to…
Optional: I would name the variable as objLog
, because we extend the "common" log with object-specific attributes. And comment above probably won't be needed)
I suppose it removes object from old bucket, because the object now should belong to the bucket of new status...
Do we still need this code here? We already pre-filter objects by status on bucket level, so maybe we can rename the function to filterAge
and remove status check from here?
It took a bit of code reading to figure out what this function does. I can think of two things that might help code reader: