Project

General

Profile

Bug #30827

Actions::Katello::Repository::IndexContent is performed in serial order during CV Publish

Added by Mike McCune about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Content View publishes have a good portion of their task spent on Actions::Katello::Repository::IndexContent which appear to only execute one-at-a-time in order:

...
1105: Actions::Pulp3::Orchestration::Repository::GenerateMetadata (success) [ 0.02s / 0.02s ]
1109: Actions::Pulp3::Orchestration::Repository::GenerateMetadata (success) [ 0.02s / 0.02s ]
1112: Actions::Katello::Repository::IndexContent (success) [ 20.11s / 20.11s ]
1114: Actions::Katello::Repository::IndexContent (success) [ 68.07s / 68.07s ]
1116: Actions::Katello::Repository::IndexContent (success) [ 5.32s / 5.32s ]
1118: Actions::Katello::Repository::IndexContent (success) [ 84.04s / 84.04s ]
1120: Actions::Katello::Repository::IndexContent (success) [ 2.63s / 2.63s ]
1122: Actions::Katello::Repository::IndexContent (success) [ 121.24s / 121.24s ]
1124: Actions::Katello::Repository::IndexContent (success) [ 29.39s / 29.39s ]
1126: Actions::Katello::Repository::IndexContent (success) [ 1.68s / 1.68s ]
1128: Actions::Katello::Repository::IndexContent (success) [ 3.20s / 3.20s ]
1130: Actions::Katello::Repository::IndexContent (success) [ 0.77s / 0.77s ]
1132: Actions::Katello::Repository::IndexContent (success) [ 27.83s / 27.83s ]
1134: Actions::Katello::Repository::IndexContent (success) [ 2.51s / 2.51s ]
1136: Actions::Katello::Repository::IndexContent (success) [ 0.68s / 0.68s ]
1138: Actions::Katello::Repository::IndexContent (success) [ 2.40s / 2.40s ]
1139: Actions::Katello::Repository::IndexContent (running) [ 0.00s / 0.00s ]
1140: Actions::Katello::Repository::IndexContent (pending)
1141: Actions::Katello::Repository::IndexContent (pending)
1142: Actions::Katello::Repository::IndexContent (pending)
1143: Actions::Katello::Repository::IndexContent (pending)
...

we should be able to make these run in parallel to speed up the execution

Associated revisions

Revision 86ed3b57 (diff)
Added by Justin Sherrill about 1 year ago

Fixes #30827 - index and generate metadata concurrently on publish

History

#1 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8943 added

#2 Updated by Justin Sherrill about 1 year ago

  • Target version set to Katello 3.16.1
  • Category set to Content Views

#3 Updated by James Jeffers about 1 year ago

  • Triaged changed from No to Yes

#4 Updated by Ian Ballou about 1 year ago

  • Target version changed from Katello 3.16.1 to Katello 3.16.2

#5 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.0.0 added

#6 Updated by Justin Sherrill about 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF