Bug 2223196

Summary: CV publish too slow when using a simple exclude filter
Product: Red Hat Satellite Reporter: mithun kalyat <mkalyat>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.14.0CC: ahumbe, mkushwah, rlavi, sajha
Target Milestone: UnspecifiedKeywords: Performance
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-14 12:17:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mithun kalyat 2023-07-16 13:29:06 UTC
Description of problem:


Publish too slow when using a simple exclude filter.

CV with following repositories:

   Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8	
	
   Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8

And the filter:

# hammer content-view filter info --id 1
Filter ID:    1
Name:         First
Type:         erratum
Inclusion:    false
Description:  
Repositories: 

Rules:        
 1) Id:         1
    Start Date: 2023-01-01T12:00:00.000Z
    End Date:   2023-07-16T12:00:00.000Z
    Types:      security, enhancement, bugfix
    Created:    2023/07/16 08:30:45
    Updated:    2023/07/16 08:31:07

And the publish task took more than an hour to complete.

========
Id:3f8724e6-7a8a-44b6-8b82-c924eeb37ee5
Label:Actions::Katello::ContentView::Publish
Duration:1 hour
========

I think it is taking too much time to complete "Actions::Katello::Repository::IndexContent" task.

Comment 1 Brad Buckingham 2023-07-17 12:05:39 UTC
Is this a regression in behavior from previous Satellite release?