{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/24613","labels_url":"https://api.github.com/repos/saltstack/salt/issues/24613/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/24613/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/24613/events","html_url":"https://github.com/saltstack/salt/issues/24613","id":87525888,"number":24613,"title":"7c537cd9ece84adedce45e8da371a08f21291a25 seems cause context switches gevent code when sending events","user":{"login":"GregMeno","id":290210,"avatar_url":"https://avatars.githubusercontent.com/u/290210?v=3","gravatar_id":"","url":"https://api.github.com/users/GregMeno","html_url":"https://github.com/GregMeno","followers_url":"https://api.github.com/users/GregMeno/followers","following_url":"https://api.github.com/users/GregMeno/following{/other_user}","gists_url":"https://api.github.com/users/GregMeno/gists{/gist_id}","starred_url":"https://api.github.com/users/GregMeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregMeno/subscriptions","organizations_url":"https://api.github.com/users/GregMeno/orgs","repos_url":"https://api.github.com/users/GregMeno/repos","events_url":"https://api.github.com/users/GregMeno/events{/privacy}","received_events_url":"https://api.github.com/users/GregMeno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P4","name":"P4","color":"031a39"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Pending%20Discussion","name":"Pending Discussion","color":"c7def8"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Transport","name":"Transport","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2380,"closed_issues":2232,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-06-26T16:58:55Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-06-11T22:49:21Z","updated_at":"2015-06-26T17:03:13Z","closed_at":null,"body":"@jacksontj the commit 7c537cd9ece84adedce45e8da371a08f21291a25 is causing an issue in gevent code in a project I maintain that uses salt for it's zmq transport.\r\n\r\nsee http://lists.ceph.com/pipermail/ceph-calamari-ceph.com/2015-May/000107.html\r\n\r\nThe setup is that we receive an event from the minion \r\nhttps://github.com/ceph/calamari/blob/master/cthulhu/cthulhu/manager/cluster_monitor.py#L326\r\n\r\nthat there is new data to get which we ask for from the master with https://github.com/ceph/calamari/blob/master/cthulhu/cthulhu/manager/cluster_monitor.py#L109\r\n\r\nour decorator https://github.com/ceph/calamari/blob/master/cthulhu/cthulhu/gevent_util.py#L10 notices that 7c537cd9ece84adedce45e8da371a08f21291a25 adds a self.get_event(wait=1)\r\n\r\nThis seems strange. I've tried to get a minimal reproducible case to include with this report and have failed. I welcome discussion about options at this point\r\n\r\nthank you for your time.\r\n "},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/115763989","html_url":"https://github.com/saltstack/salt/issues/24613#issuecomment-115763989","issue_url":"https://api.github.com/repos/saltstack/salt/issues/24613","id":115763989,"user":{"login":"GregMeno","id":290210,"avatar_url":"https://avatars.githubusercontent.com/u/290210?v=3","gravatar_id":"","url":"https://api.github.com/users/GregMeno","html_url":"https://github.com/GregMeno","followers_url":"https://api.github.com/users/GregMeno/followers","following_url":"https://api.github.com/users/GregMeno/following{/other_user}","gists_url":"https://api.github.com/users/GregMeno/gists{/gist_id}","starred_url":"https://api.github.com/users/GregMeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregMeno/subscriptions","organizations_url":"https://api.github.com/users/GregMeno/orgs","repos_url":"https://api.github.com/users/GregMeno/repos","events_url":"https://api.github.com/users/GregMeno/events{/privacy}","received_events_url":"https://api.github.com/users/GregMeno/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T17:03:13Z","updated_at":"2015-06-26T17:03:13Z","body":"@jacksontj Thank you. I will take a look."}}