Project

Profile

Help

Task #8960

closed

Ensure that pulp imports can run concurrently with orphan cleanup

Added by daviddavis almost 3 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 112
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/2021":https://github.com/pulp/pulpcore/issues/2021


I've confirmed that when an import happens, it bumps the timestamp_of_interest for artifacts and content so that when the import gets to the repository version creation step, the artifacts/content are still there.

However, I am not so sure that there isn't a possibly a race condition with django-import-export that could occur between when it selects the record(s) and then updates them. In fact, given the async problems we've seen in the past, I think it's likely.

I know we fixed another error similar to this:

https://pulp.plan.io/issues/8633

And perhaps our fix for #8633 might save us here: the fix added code to retry the import if it experienced errors and perhaps that will also apply to this situation where an artifact/content goes missing before it's updated. We need to confirm this though.

Actions #1

Updated by daviddavis almost 3 years ago

  • Sprint/Milestone set to 3.15.0

This needs to be done before we make orphan cleanup non-blocking but it doesn't necessarily need to be done as part of 3.14.

Actions #2

Updated by daviddavis almost 3 years ago

  • Blocks Task #8824: Convert orphan cleanup into a non-blocking task added
Actions #3

Updated by daviddavis over 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis
Actions #4

Updated by daviddavis over 2 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (daviddavis)
Actions #5

Updated by daviddavis over 2 years ago

  • Sprint/Milestone deleted (3.15.0)

Per our go/no-go meeting, we decided that a potential fix could be released as a z-stream and doesn't need to block the 3.15 release.

Actions #6

Updated by mdellweg over 2 years ago

  • Blocks deleted (Task #8824: Convert orphan cleanup into a non-blocking task)
Actions #7

Updated by ipanova@redhat.com over 2 years ago

  • Parent issue deleted (#7659)
  • Sprint set to Sprint 107
Actions #8

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 107 to Sprint 108
Actions #9

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 108 to Sprint 109
Actions #10

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 109 to Sprint 110
Actions #11

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 110 to Sprint 111
Actions #12

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 111 to Sprint 112
Actions #13

Updated by pulpbot over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF