Project

General

Profile

Bug #11166

Duplicate Actions::Candlepin::ListenOnCandlepinEvents tasks

Added by Justin Sherrill over 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1243959
In certain situations the user can end up with large lists of this task running or stuck in paused:pending state and can't be mass resumed.

See attached screenshot.

We need to ensure there is only one of these tasks running at a time and we don't spam the tasks list with multiple tasks that can't be mass resumed.

Associated revisions

Revision 47c989a1 (diff)
Added by Justin Sherrill over 7 years ago

fixes #11166 - better handling qpid disconnections on cp listener

  • converts the sleep statement to use the world clock to ping
  • exits the listener thread in CandlepinListeningService instead of
    looping every 1 second until the connection is reestablished
  • reduces the number of at_exit blocks to 1

Revision ee6188b1
Added by Justin Sherrill over 7 years ago

Merge pull request #5366 from jlsherrill/11166

fixes #11166 - better handling qpid disconnections on cp listener

History

#1 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5366 added
  • Pull request deleted ()

#2 Updated by Justin Sherrill over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Eric Helms over 7 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

Also available in: Atom PDF