{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/18501","repository_url":"https://api.github.com/repos/cms-sw/cmssw","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/18501/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/18501/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/18501/events","html_url":"https://github.com/cms-sw/cmssw/issues/18501","id":224901322,"number":18501,"title":"LumiProducer call to frontier is not thread safe","user":{"login":"Dr15Jones","id":3757616,"avatar_url":"https://avatars1.githubusercontent.com/u/3757616?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr15Jones","html_url":"https://github.com/Dr15Jones","followers_url":"https://api.github.com/users/Dr15Jones/followers","following_url":"https://api.github.com/users/Dr15Jones/following{/other_user}","gists_url":"https://api.github.com/users/Dr15Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr15Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr15Jones/subscriptions","organizations_url":"https://api.github.com/users/Dr15Jones/orgs","repos_url":"https://api.github.com/users/Dr15Jones/repos","events_url":"https://api.github.com/users/Dr15Jones/events{/privacy}","received_events_url":"https://api.github.com/users/Dr15Jones/received_events","type":"User","site_admin":false},"labels":[{"id":52822606,"url":"https://api.github.com/repos/cms-sw/cmssw/labels/core-pending","name":"core-pending","color":"fbca04","default":false},{"id":52881671,"url":"https://api.github.com/repos/cms-sw/cmssw/labels/db-pending","name":"db-pending","color":"fbca04","default":false},{"id":53167770,"url":"https://api.github.com/repos/cms-sw/cmssw/labels/pending-signatures","name":"pending-signatures","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-04-27T20:19:14Z","updated_at":"2017-04-28T15:05:11Z","closed_at":null,"body":"The framework now uses multiple threads to process the global begin Run transition. During that transition `LumiProducer::beginRun` is called and it directly calls `coral::FrontierAccess::Query::execute()`. Unfortunately, modules which request data from the conditions database will also trigger calls to frontier which leads to race conditions: See\r\nhttps://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc7_amd64_gcc630/CMSSW_9_1_X_2017-04-26-2300/pyRelValMatrixLogs/run/1000.0_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT/step2_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT.log\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/298023132","html_url":"https://github.com/cms-sw/cmssw/issues/18501#issuecomment-298023132","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/18501","id":298023132,"user":{"login":"Dr15Jones","id":3757616,"avatar_url":"https://avatars1.githubusercontent.com/u/3757616?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr15Jones","html_url":"https://github.com/Dr15Jones","followers_url":"https://api.github.com/users/Dr15Jones/followers","following_url":"https://api.github.com/users/Dr15Jones/following{/other_user}","gists_url":"https://api.github.com/users/Dr15Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr15Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr15Jones/subscriptions","organizations_url":"https://api.github.com/users/Dr15Jones/orgs","repos_url":"https://api.github.com/users/Dr15Jones/repos","events_url":"https://api.github.com/users/Dr15Jones/events{/privacy}","received_events_url":"https://api.github.com/users/Dr15Jones/received_events","type":"User","site_admin":false},"created_at":"2017-04-28T15:05:10Z","updated_at":"2017-04-28T15:05:10Z","body":"@DrDaveD what is the time scale for making the frontier client thread safe? I was hoping to get this patch (which can later be removed) in today since the problem already caused jobs in the IB to crash."}}
{"actor":{"display_login":"Dr15Jones"}}