)]}'
{"id":"openstack%2Ftaskflow~276536","triplet_id":"openstack%2Ftaskflow~master~I98b0caeedc77ab2f7214847763ae1eb0433d4a78","project":"openstack/taskflow","branch":"master","topic":"wbe-cleanups","hashtags":[],"change_id":"I98b0caeedc77ab2f7214847763ae1eb0433d4a78","subject":"Fix for WBE sporadic timeout of tasks","status":"MERGED","created":"2016-02-05 02:16:52.000000000","updated":"2016-02-13 22:14:21.000000000","submitted":"2016-02-13 22:14:21.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"6529719918b8275510dae84bbfe4aefb2394cc20","_number":276536,"virtual_id_number":276536,"owner":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"},{"value":2,"date":"2016-02-13 22:14:21.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"},"all":[{"value":2,"date":"2016-02-05 22:41:22.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2016-02-13 21:06:47.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},"all":[{"value":0,"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":1,"date":"2016-02-13 21:06:47.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"all":[{"value":0,"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"}],"values":{"-2":"Do Not Backport","-1":"Not A Backport Candidate"," 0":"Backport Review Needed","+1":"Proposed Backport","+2":"Should Backport"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},{"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-02-05 17:51:55.000000000","updated_by":{"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"},"reviewer":{"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"},"state":"REVIEWER"},{"updated":"2016-02-13 21:06:47.000000000","updated_by":{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},"reviewer":{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},"state":"REVIEWER"},{"updated":"2016-02-13 22:14:21.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"4ee02d7fcdec1096c5d1e3cba1cbfba1ffb519a4","author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"date":"2016-02-05 02:16:52.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"076dfdb45a7020f31d14cd05602a8393df363f3c","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-05 04:42:13.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-taskflow-pep8 http://logs.openstack.org/36/276536/1/check/gate-taskflow-pep8/c40669c/ : SUCCESS in 1m 37s\n- gate-taskflow-docs http://docs-draft.openstack.org/36/276536/1/check/gate-taskflow-docs/63627b3//doc/build/html/ : SUCCESS in 1m 26s\n- gate-taskflow-python27 http://logs.openstack.org/36/276536/1/check/gate-taskflow-python27/000f1a0/ : FAILURE in 2m 55s\n- gate-taskflow-python34 http://logs.openstack.org/36/276536/1/check/gate-taskflow-python34/9959e43/ : FAILURE in 3m 26s\n- gate-taskflow-pypy http://logs.openstack.org/36/276536/1/check/gate-taskflow-pypy/4ee5e78/ : FAILURE in 1m 20s (non-voting)\n- gate-tempest-dsvm-neutron-src-taskflow http://logs.openstack.org/36/276536/1/check/gate-tempest-dsvm-neutron-src-taskflow/69090a8/ : SUCCESS in 57m 44s","accounts_in_message":[],"_revision_number":1},{"id":"09d7cbfb1d329d968effe52ef50e9aae0c518dd0","author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"date":"2016-02-05 06:39:58.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"f395966d6223708286b70ce1d04fe6aa50b3b3f3","author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"date":"2016-02-05 06:48:06.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"7d6f61d1dee99b51ede05e6a40c11224c962444b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-05 07:52:39.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-taskflow-pep8 http://logs.openstack.org/36/276536/3/check/gate-taskflow-pep8/c7a8d84/ : SUCCESS in 1m 27s\n- gate-taskflow-docs http://docs-draft.openstack.org/36/276536/3/check/gate-taskflow-docs/9ef8648//doc/build/html/ : SUCCESS in 1m 18s\n- gate-taskflow-python27 http://logs.openstack.org/36/276536/3/check/gate-taskflow-python27/4172869/ : SUCCESS in 3m 06s\n- gate-taskflow-python34 http://logs.openstack.org/36/276536/3/check/gate-taskflow-python34/883cd23/ : SUCCESS in 10m 24s\n- gate-taskflow-pypy http://logs.openstack.org/36/276536/3/check/gate-taskflow-pypy/b85c4ee/ : FAILURE in 1m 17s (non-voting)\n- gate-tempest-dsvm-neutron-src-taskflow http://logs.openstack.org/36/276536/3/check/gate-tempest-dsvm-neutron-src-taskflow/2b42579/ : SUCCESS in 57m 07s","accounts_in_message":[],"_revision_number":3},{"id":"e8e2004007464eb4489c04df6d840db53baa2ab6","author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"date":"2016-02-05 16:49:42.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"76afb69d31df39cafad6085c4472f590287c3a6a","author":{"_account_id":9648,"name":"Greg Hill","email":"greg.hill@rackspace.com","username":"jimbobhickville"},"date":"2016-02-05 17:51:55.000000000","message":"Patch Set 4: Code-Review+2","accounts_in_message":[],"_revision_number":4},{"id":"05dc292db38cbed99b23c0159e1e01c5e6abdf98","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-05 20:03:30.000000000","message":"Patch Set 4: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-taskflow-pep8 http://logs.openstack.org/36/276536/4/check/gate-taskflow-pep8/360c28c/ : SUCCESS in 1m 03s\n- gate-taskflow-docs http://docs-draft.openstack.org/36/276536/4/check/gate-taskflow-docs/50596bb//doc/build/html/ : SUCCESS in 1m 50s\n- gate-taskflow-python27 http://logs.openstack.org/36/276536/4/check/gate-taskflow-python27/d915b41/ : SUCCESS in 2m 46s\n- gate-taskflow-python34 http://logs.openstack.org/36/276536/4/check/gate-taskflow-python34/16cb47c/ : SUCCESS in 2m 28s\n- gate-taskflow-pypy http://logs.openstack.org/36/276536/4/check/gate-taskflow-pypy/5c1b068/ : FAILURE in 1m 13s (non-voting)\n- gate-tempest-dsvm-neutron-src-taskflow http://logs.openstack.org/36/276536/4/check/gate-tempest-dsvm-neutron-src-taskflow/80c9744/ : SUCCESS in 1h 00m 11s","accounts_in_message":[],"_revision_number":4},{"id":"f951184f48c2700b90d2fd169ec5f85caa246abe","author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"date":"2016-02-05 22:41:22.000000000","message":"Uploaded patch set 5: Patch Set 4 was rebased.","accounts_in_message":[],"_revision_number":5},{"id":"68550ebf783c138d55f36babc12dcdf15dbfed9f","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-06 00:57:10.000000000","message":"Patch Set 5: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-taskflow-pep8 http://logs.openstack.org/36/276536/5/check/gate-taskflow-pep8/1045c58/ : SUCCESS in 1m 08s\n- gate-taskflow-docs http://docs-draft.openstack.org/36/276536/5/check/gate-taskflow-docs/8448c29//doc/build/html/ : SUCCESS in 1m 36s\n- gate-taskflow-python27 http://logs.openstack.org/36/276536/5/check/gate-taskflow-python27/a0bfb94/ : SUCCESS in 3m 20s\n- gate-taskflow-python34 http://logs.openstack.org/36/276536/5/check/gate-taskflow-python34/da60993/ : SUCCESS in 2m 52s\n- gate-taskflow-pypy http://logs.openstack.org/36/276536/5/check/gate-taskflow-pypy/0a70c47/ : FAILURE in 1m 28s (non-voting)\n- gate-tempest-dsvm-neutron-src-taskflow http://logs.openstack.org/36/276536/5/check/gate-tempest-dsvm-neutron-src-taskflow/9dcf30c/ : SUCCESS in 1h 12m 21s","accounts_in_message":[],"_revision_number":5},{"id":"fa7bef81c88b080d48f633a51c0766b85de0486c","author":{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},"date":"2016-02-13 21:06:47.000000000","message":"Patch Set 5: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":5},{"id":"39d7705f1578fb0ccecd14c09ed781318305f371","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-13 21:06:52.000000000","message":"Patch Set 5: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":5},{"id":"7fd2a284ae70c01904bb3b5fb7dd146f09eb4fcd","date":"2016-02-13 22:14:21.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":5},{"id":"5d57772156000a30890f8a2703c58bdbca8e0485","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-13 22:14:21.000000000","message":"Patch Set 5: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-taskflow-docs http://docs-draft.openstack.org/36/276536/5/gate/gate-taskflow-docs/77ea827//doc/build/html/ : SUCCESS in 1m 16s\n- gate-taskflow-pep8 http://logs.openstack.org/36/276536/5/gate/gate-taskflow-pep8/1c3033a/ : SUCCESS in 44s\n- gate-taskflow-python27 http://logs.openstack.org/36/276536/5/gate/gate-taskflow-python27/97152d2/ : SUCCESS in 2m 25s\n- gate-taskflow-python34 http://logs.openstack.org/36/276536/5/gate/gate-taskflow-python34/c7dd6b7/ : SUCCESS in 2m 40s\n- gate-tempest-dsvm-neutron-src-taskflow http://logs.openstack.org/36/276536/5/gate/gate-tempest-dsvm-neutron-src-taskflow/87a42d8/ : SUCCESS in 1h 07m 27s","accounts_in_message":[],"_revision_number":5}],"current_revision_number":5,"current_revision":"cea71f27998cfa911044103fcb8fca79b6989717","revisions":{"98f0297bd343c2969b2867a477acedb614254a69":{"kind":"REWORK","_number":1,"created":"2016-02-05 02:16:52.000000000","uploader":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"ref":"refs/changes/36/276536/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/taskflow","ref":"refs/changes/36/276536/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/taskflow refs/changes/36/276536/1"}}},"commit":{"parents":[{"commit":"6a48709d76aa8523b1b0d99e6d4b6e267d7e5883","subject":"Merge \"Use helper function for post-atom-completion work\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/6a48709d76aa8523b1b0d99e6d4b6e267d7e5883"}]}],"author":{"name":"Joshua Harlow","email":"harlowja@yahoo-inc.com","date":"2016-02-05 02:09:24.000000000","tz":-480},"committer":{"name":"Joshua Harlow","email":"harlowja@yahoo-inc.com","date":"2016-02-05 02:16:40.000000000","tz":-480},"subject":"Work on fix for timeout of tasks (WIP)","message":"Work on fix for timeout of tasks (WIP)\n\nRelated-Bug: #1431097\n\nChange-Id: I98b0caeedc77ab2f7214847763ae1eb0433d4a78\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/98f0297bd343c2969b2867a477acedb614254a69"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/98f0297bd343c2969b2867a477acedb614254a69"}]},"branch":"refs/heads/master"},"d0ef2ff5cc784a5fd8c16b9b2cbfbb3ca785890b":{"kind":"REWORK","_number":2,"created":"2016-02-05 06:39:58.000000000","uploader":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"ref":"refs/changes/36/276536/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/taskflow","ref":"refs/changes/36/276536/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/taskflow refs/changes/36/276536/2"}}},"commit":{"parents":[{"commit":"6a48709d76aa8523b1b0d99e6d4b6e267d7e5883","subject":"Merge \"Use helper function for post-atom-completion work\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/6a48709d76aa8523b1b0d99e6d4b6e267d7e5883"}]}],"author":{"name":"Joshua Harlow","email":"harlowja@yahoo-inc.com","date":"2016-02-05 02:09:24.000000000","tz":-480},"committer":{"name":"Joshua Harlow","email":"harlowja@gmail.com","date":"2016-02-05 06:33:07.000000000","tz":-480},"subject":"Fix for WBE sporadic timeout of tasks","message":"Fix for WBE sporadic timeout of tasks\n\nThis fixes the sporadic of tasks that would happen\nunder certain circumstances. What happened was that\na new worker notification would be sent to a callback\nwhile at the same time a task submission would come in\nand there would be a small race period where the task\nwould insert itself into the requests cache while the\ncallback was processing.\n\nSo to work around this the whole concept of a requests\ncache was revamped and now the WBE executor just maintains\nits own local dictionary of ongoing requests and accesses\nit safely.\n\nDuring the on_wait function that is periodically called\nby kombu the previous expiry of work happens but now any\nrequests that are pending are matched to any new workers\nthat may have appeared.\n\nThis avoids the race (and ensures that even if a new\nworker is found but a submission is in progress that the\nduration until that submission happens will only be until\nthe next on_wait call happens).\n\nRelated-Bug: #1431097\n\nChange-Id: I98b0caeedc77ab2f7214847763ae1eb0433d4a78\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/d0ef2ff5cc784a5fd8c16b9b2cbfbb3ca785890b"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/d0ef2ff5cc784a5fd8c16b9b2cbfbb3ca785890b"}]},"branch":"refs/heads/master"},"d695fab7b5d2ab3ea390ea55bae2d0153edb112d":{"kind":"REWORK","_number":3,"created":"2016-02-05 06:48:06.000000000","uploader":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"ref":"refs/changes/36/276536/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/taskflow","ref":"refs/changes/36/276536/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/taskflow refs/changes/36/276536/3"}}},"commit":{"parents":[{"commit":"6a48709d76aa8523b1b0d99e6d4b6e267d7e5883","subject":"Merge \"Use helper function for post-atom-completion work\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/6a48709d76aa8523b1b0d99e6d4b6e267d7e5883"}]}],"author":{"name":"Joshua Harlow","email":"harlowja@yahoo-inc.com","date":"2016-02-05 02:09:24.000000000","tz":-480},"committer":{"name":"Joshua Harlow","email":"harlowja@gmail.com","date":"2016-02-05 06:47:02.000000000","tz":-480},"subject":"Fix for WBE sporadic timeout of tasks","message":"Fix for WBE sporadic timeout of tasks\n\nThis fixes the sporadic of tasks that would happen\nunder certain circumstances. What happened was that\na new worker notification would be sent to a callback\nwhile at the same time a task submission would come in\nand there would be a small race period where the task\nwould insert itself into the requests cache while the\ncallback was processing.\n\nSo to work around this the whole concept of a requests\ncache was revamped and now the WBE executor just maintains\nits own local dictionary of ongoing requests and accesses\nit safely.\n\nDuring the on_wait function that is periodically called\nby kombu the previous expiry of work happens but now any\nrequests that are pending are matched to any new workers\nthat may have appeared.\n\nThis avoids the race (and ensures that even if a new\nworker is found but a submission is in progress that the\nduration until that submission happens will only be until\nthe next on_wait call happens).\n\nRelated-Bug: #1431097\n\nChange-Id: I98b0caeedc77ab2f7214847763ae1eb0433d4a78\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/d695fab7b5d2ab3ea390ea55bae2d0153edb112d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/d695fab7b5d2ab3ea390ea55bae2d0153edb112d"}]},"branch":"refs/heads/master"},"6b9d3c0bf22d7411ee53a0b711ad59ea468a1783":{"kind":"REWORK","_number":4,"created":"2016-02-05 16:49:42.000000000","uploader":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"ref":"refs/changes/36/276536/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/taskflow","ref":"refs/changes/36/276536/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/taskflow refs/changes/36/276536/4"}}},"commit":{"parents":[{"commit":"6a48709d76aa8523b1b0d99e6d4b6e267d7e5883","subject":"Merge \"Use helper function for post-atom-completion work\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/6a48709d76aa8523b1b0d99e6d4b6e267d7e5883"}]}],"author":{"name":"Joshua Harlow","email":"harlowja@yahoo-inc.com","date":"2016-02-05 02:09:24.000000000","tz":-480},"committer":{"name":"Joshua Harlow","email":"harlowja@gmail.com","date":"2016-02-05 16:49:04.000000000","tz":-480},"subject":"Fix for WBE sporadic timeout of tasks","message":"Fix for WBE sporadic timeout of tasks\n\nThis fixes the sporadic of tasks that would happen\nunder certain circumstances. What happened was that\na new worker notification would be sent to a callback\nwhile at the same time a task submission would come in\nand there would be a small race period where the task\nwould insert itself into the requests cache while the\ncallback was processing.\n\nSo to work around this the whole concept of a requests\ncache was revamped and now the WBE executor just maintains\nits own local dictionary of ongoing requests and accesses\nit safely.\n\nDuring the on_wait function that is periodically called\nby kombu the previous expiry of work happens but now any\nrequests that are pending are matched to any new workers\nthat may have appeared.\n\nThis avoids the race (and ensures that even if a new\nworker is found but a submission is in progress that the\nduration until that submission happens will only be until\nthe next on_wait call happens).\n\nRelated-Bug: #1431097\n\nChange-Id: I98b0caeedc77ab2f7214847763ae1eb0433d4a78\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/6b9d3c0bf22d7411ee53a0b711ad59ea468a1783"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/6b9d3c0bf22d7411ee53a0b711ad59ea468a1783"}]},"branch":"refs/heads/master"},"cea71f27998cfa911044103fcb8fca79b6989717":{"kind":"TRIVIAL_REBASE","_number":5,"created":"2016-02-05 22:41:22.000000000","uploader":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"ref":"refs/changes/36/276536/5","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/taskflow","ref":"refs/changes/36/276536/5","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/taskflow refs/changes/36/276536/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/taskflow refs/changes/36/276536/5"}}},"commit":{"parents":[{"commit":"61efc31e965b8defac84aa494095fd3734f739eb","subject":"Merge \"Handle cases where exc_args can\u0027t be serialized as JSON in the WBE\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/61efc31e965b8defac84aa494095fd3734f739eb"}]}],"author":{"name":"Joshua Harlow","email":"harlowja@yahoo-inc.com","date":"2016-02-05 02:09:24.000000000","tz":-480},"committer":{"name":"Joshua Harlow","email":"harlowja@yahoo-inc.com","date":"2016-02-05 22:40:25.000000000","tz":-480},"subject":"Fix for WBE sporadic timeout of tasks","message":"Fix for WBE sporadic timeout of tasks\n\nThis fixes the sporadic of tasks that would happen\nunder certain circumstances. What happened was that\na new worker notification would be sent to a callback\nwhile at the same time a task submission would come in\nand there would be a small race period where the task\nwould insert itself into the requests cache while the\ncallback was processing.\n\nSo to work around this the whole concept of a requests\ncache was revamped and now the WBE executor just maintains\nits own local dictionary of ongoing requests and accesses\nit safely.\n\nDuring the on_wait function that is periodically called\nby kombu the previous expiry of work happens but now any\nrequests that are pending are matched to any new workers\nthat may have appeared.\n\nThis avoids the race (and ensures that even if a new\nworker is found but a submission is in progress that the\nduration until that submission happens will only be until\nthe next on_wait call happens).\n\nRelated-Bug: #1431097\n\nChange-Id: I98b0caeedc77ab2f7214847763ae1eb0433d4a78\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/cea71f27998cfa911044103fcb8fca79b6989717"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/taskflow/commit/cea71f27998cfa911044103fcb8fca79b6989717"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
