{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/5486","labels_url":"https://api.github.com/repos/dmwm/WMCore/issues/5486/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/WMCore/issues/5486/comments","events_url":"https://api.github.com/repos/dmwm/WMCore/issues/5486/events","html_url":"https://github.com/dmwm/WMCore/issues/5486","id":49946101,"number":5486,"title":"reqmgr_workload_cache db and wmstats reporting wrong # events","user":{"login":"amaltaro","id":1798520,"avatar_url":"https://avatars.githubusercontent.com/u/1798520?v=3","gravatar_id":"","url":"https://api.github.com/users/amaltaro","html_url":"https://github.com/amaltaro","followers_url":"https://api.github.com/users/amaltaro/followers","following_url":"https://api.github.com/users/amaltaro/following{/other_user}","gists_url":"https://api.github.com/users/amaltaro/gists{/gist_id}","starred_url":"https://api.github.com/users/amaltaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaltaro/subscriptions","organizations_url":"https://api.github.com/users/amaltaro/orgs","repos_url":"https://api.github.com/users/amaltaro/repos","events_url":"https://api.github.com/users/amaltaro/events{/privacy}","received_events_url":"https://api.github.com/users/amaltaro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dmwm/WMCore/labels/Bug","name":"Bug","color":"0b02e1"}],"state":"open","locked":false,"assignee":{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dmwm/WMCore/milestones/115","html_url":"https://github.com/dmwm/WMCore/milestones/WMAgent1508","labels_url":"https://api.github.com/repos/dmwm/WMCore/milestones/115/labels","id":1081605,"number":115,"title":"WMAgent1508","description":"","creator":{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false},"open_issues":99,"closed_issues":63,"state":"open","created_at":"2015-04-24T02:44:22Z","updated_at":"2015-10-13T10:39:52Z","due_on":"2015-08-31T05:00:00Z","closed_at":null},"comments":3,"created_at":"2014-11-24T21:40:41Z","updated_at":"2015-10-16T10:13:19Z","closed_at":null,"body":"It looks like reqmgr_workload_cache db documents sometimes report an incorrect number of TotalInputEvents, TotalInputLumis and I guess also TotalEstimatedJobs, as can be seen in this example:\r\nhttps://cmsweb.cern.ch/couchdb/reqmgr_workload_cache/pdmvserv_TRK-TP2023HGCALGS-00001_00001_v0__141113_160840_557\r\n\r\nI've seen this in testbed already but I guess I did not manage to easily reproduce it.\r\nTaking a quick look at the code, it seems it's coming from here:\r\nhttps://github.com/dmwm/WMCore/blob/master/src/couchapps/ReqMgr/updates/totalstats.js#L17\r\n\r\nbut to be honest, I have no idea where/what \"req.query.input_events\" goes here."},"comment":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/comments/148675259","html_url":"https://github.com/dmwm/WMCore/issues/5486#issuecomment-148675259","issue_url":"https://api.github.com/repos/dmwm/WMCore/issues/5486","id":148675259,"user":{"login":"vlimant","id":4989875,"avatar_url":"https://avatars.githubusercontent.com/u/4989875?v=3","gravatar_id":"","url":"https://api.github.com/users/vlimant","html_url":"https://github.com/vlimant","followers_url":"https://api.github.com/users/vlimant/followers","following_url":"https://api.github.com/users/vlimant/following{/other_user}","gists_url":"https://api.github.com/users/vlimant/gists{/gist_id}","starred_url":"https://api.github.com/users/vlimant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlimant/subscriptions","organizations_url":"https://api.github.com/users/vlimant/orgs","repos_url":"https://api.github.com/users/vlimant/repos","events_url":"https://api.github.com/users/vlimant/events{/privacy}","received_events_url":"https://api.github.com/users/vlimant/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T10:13:19Z","updated_at":"2015-10-16T10:13:19Z","body":"could this be related to #6258 where two workload are concurrently being updated, one is updated twice (could expected lumi), the other none (missing members)"}}