Issue #2499
closed'Last Unit Added' attribute not updated
Description
I have a number of 'frozen' repos which I copy rpm's to weekly by script. To check when the repo was last updated with any content, I've been checking the 'Last Unit Added' attribute for the repo with the command:
$ pulp-admin rpm repo search --str-eq "id=<reponame>"
After updating to pulp 2.9.2 (from 2.7.0) this field is no longer updated. I've now also updated to 2.11 but the problem persists.
I also have several repos that are synced from external sources nightly, and the 'Last unit added' field is not updated on these either.
Is this a bug or am I doing something wrong?
When is this field supposed to get updated?
What is the correct way to determine when (date/time) a specific repo was last updated with new content?
Related issues
Updated by ttereshc almost 8 years ago
This is a bug, please find details and workaround here https://pulp.plan.io/issues/1847#note-3 while we are fixing it. Thanks!
Updated by ttereshc almost 8 years ago
- Status changed from NEW to CLOSED - DUPLICATE
Updated by ttereshc almost 8 years ago
- Is duplicate of Issue #1847: last_unit_added is not added in mongo repo collection records added