Project

Profile

Help

Issue #1847

closed

last_unit_added is not added in mongo repo collection records

Added by ipanova@redhat.com over 8 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.0
Platform Release:
2.11.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 13
Quarter:

Description

If some units got removed from the repo, the last_unit_removed will be updated in the mongo data, but if a unit was added 'last_unit_added' will be still missing

> db.repos.find()
{ "_id" : ObjectId("5710f3da45ef48069a4dd985"), "_ns" : "repos", "content_unit_counts" : { "rpm" : 2 }, "last_unit_removed" : ISODate("2016-04-15T14:09:12.992Z"), "notes" : { "_repo-type" : "rpm-repo" }, "repo_id" : "repo", "scratchpad" : {  } }

Related issues

Has duplicate Pulp - Issue #2499: 'Last Unit Added' attribute not updatedCLOSED - DUPLICATEActions

Also available in: Atom PDF