Project

General

Profile

Bug #29321

SystemStackError (stack level too deep) when syncing a repo with many content units

Added by Ian Ballou 8 months ago. Updated 5 months ago.

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

Description

I hit this trying to sync http://quartet.usersys.redhat.com/pub/fake-repos/large_file/ which has 70K files.

The issue appears to be here: https://github.com/Katello/katello/blob/master/app/models/katello/concerns/pulp_database_unit.rb#L139

Creating the hash with so many items at once seems to be causing the issue.

Associated revisions

Revision 7ff28c13 (diff)
Added by Samir Jha 7 months ago

Fixes #29321 - Indexing large repo (#8605)

  • Fixes #29321 - Indexing large repo
  • Fixes #29321 - Add test for large file sync_association
  • Fixes #29321 - Add test for large errata sync_association

History

#1 Updated by The Foreman Bot 8 months ago

  • Assignee set to Samir Jha
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8605 added

#2 Updated by Samir Jha 7 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.16.0

#3 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases Katello 3.16.0 added

#4 Updated by Samir Jha 7 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Ian Ballou 5 months ago

  • Category set to Repositories

Also available in: Atom PDF