Bug 1482937 - duplicate rules version queries during guice injection
Summary: duplicate rules version queries during guice injection
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1484438
TreeView+ depends on / blocked
 
Reported: 2017-08-18 13:05 UTC by Barnaby Court
Modified: 2019-09-24 17:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1484438 (view as bug list)
Environment:
Last Closed: 2019-09-24 17:13:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin candlepin pull 1701 0 None None None 2017-08-22 20:12:25 UTC

Description Barnaby Court 2017-08-18 13:05:52 UTC
During request initialization the rules version is being queried many times. This is a regression from 2.0. The difference appears to be around the removal of the @CandlepinRequestScoped annotation from the JsRunnerRequestCache. 

I attempted a quick addition of the annotation but there were still errors where the scope was not properly initialized before it was used in async jobs.


Note You need to log in before you can comment on or make changes to this bug.