)]}'
{"id":"openstack%2Foslo.service~997385","triplet_id":"openstack%2Foslo.service~master~I0df218a32a88a73be4b958940103290a7910f950","project":"openstack/oslo.service","branch":"master","hashtags":[],"change_id":"I0df218a32a88a73be4b958940103290a7910f950","subject":"loopingcall: run RetryDecorator inline on threading backend","status":"ABANDONED","created":"2026-07-15 12:44:33.000000000","updated":"2026-07-15 13:04:37.000000000","total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"7d2b144baafadf26945fc9af3c8e55fb4034f089","_number":997385,"virtual_id_number":997385,"owner":{"_account_id":24434,"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","username":"fwiesel"},"actions":{},"labels":{"Verified":{"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":{"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":{"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"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":{},"pending_reviewers":{},"reviewer_updates":[],"messages":[{"id":"d42f1a68f30b897bf1f2529be5a227b6d58157d6","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":24434,"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","username":"fwiesel"},"date":"2026-07-15 12:44:33.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"bdfb608825a1439a99c46945861d61617bdb5af6","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":24434,"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","username":"fwiesel"},"date":"2026-07-15 12:45:09.000000000","message":"Uploaded patch set 2: New patch set was added with same tree, parent tree, and commit message as Patch Set 1.","accounts_in_message":[],"_revision_number":2},{"id":"0a653720baae2ece076b1857dc2c624b417361cf","author":{"_account_id":24434,"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","username":"fwiesel"},"date":"2026-07-15 12:46:54.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"7d2b144baafadf26945fc9af3c8e55fb4034f089","tag":"autogenerated:gerrit:abandon","author":{"_account_id":24434,"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","username":"fwiesel"},"date":"2026-07-15 13:04:37.000000000","message":"Abandoned\n\nDuplicate.","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"917ca198378eb0384dc3ef97b0ab36b7295a4167","revisions":{"4949f5fad170c19f8dfbfa00f2a533e732a45ea8":{"kind":"REWORK","_number":1,"created":"2026-07-15 12:44:33.000000000","uploader":{"_account_id":24434,"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","username":"fwiesel"},"ref":"refs/changes/85/997385/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/oslo.service","ref":"refs/changes/85/997385/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/oslo.service refs/changes/85/997385/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/oslo.service refs/changes/85/997385/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/oslo.service refs/changes/85/997385/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/oslo.service refs/changes/85/997385/1"}}},"commit":{"parents":[{"commit":"aeb05e596ba66e69042539916251d47da68e9187","subject":"loopingcall: stop leaking OS threads on threading backend","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.service/commit/aeb05e596ba66e69042539916251d47da68e9187"}]}],"author":{"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","date":"2026-07-15 12:42:57.000000000","tz":120},"committer":{"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","date":"2026-07-15 12:44:29.000000000","tz":120},"subject":"loopingcall: run RetryDecorator inline on threading backend","message":"loopingcall: run RetryDecorator inline on threading backend\n\nRetryDecorator delegated to DynamicLoopingCall, which spawned a worker\nthread per invocation and immediately blocked the caller on evt.wait().\nThis means two OS threads are occupied for every call: the worker\ndoing the actual work and the caller doing nothing but waiting. Under\neventlet that is free because greenthreads are cooperative and the\ncaller yields; under native threading both threads are real and the\nunnecessary spawn adds per-call overhead under GIL contention.\n\nOverride __call__ in the threading subclass to run the retry loop\ndirectly in the caller thread using time.sleep between attempts.\n_retry_count and _sleep_time continue to accumulate on the decorator\ninstance for backwards compatibility.\n\nUpdate SleepFixture to also patch the threading-backend sleep path so\nfixture-based tests pass under either backend.\n\nChange-Id: I0df218a32a88a73be4b958940103290a7910f950\nSigned-off-by: Fabian Wiesel \u003cfabian.wiesel@sap.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.service/commit/4949f5fad170c19f8dfbfa00f2a533e732a45ea8"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.service/commit/4949f5fad170c19f8dfbfa00f2a533e732a45ea8"}]},"branch":"refs/heads/master"},"917ca198378eb0384dc3ef97b0ab36b7295a4167":{"kind":"NO_CHANGE","_number":2,"created":"2026-07-15 12:45:09.000000000","uploader":{"_account_id":24434,"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","username":"fwiesel"},"ref":"refs/changes/85/997385/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/oslo.service","ref":"refs/changes/85/997385/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/oslo.service refs/changes/85/997385/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/oslo.service refs/changes/85/997385/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/oslo.service refs/changes/85/997385/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/oslo.service refs/changes/85/997385/2"}}},"commit":{"parents":[{"commit":"b1510b3ffcf160ac84ba6686b35b2dd47f1f7285","subject":"loopingcall: stop leaking OS threads on threading backend","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.service/commit/b1510b3ffcf160ac84ba6686b35b2dd47f1f7285"}]}],"author":{"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","date":"2026-07-15 12:42:57.000000000","tz":120},"committer":{"name":"Fabian Wiesel","email":"fabian.wiesel@sap.com","date":"2026-07-15 12:45:03.000000000","tz":120},"subject":"loopingcall: run RetryDecorator inline on threading backend","message":"loopingcall: run RetryDecorator inline on threading backend\n\nRetryDecorator delegated to DynamicLoopingCall, which spawned a worker\nthread per invocation and immediately blocked the caller on evt.wait().\nThis means two OS threads are occupied for every call: the worker\ndoing the actual work and the caller doing nothing but waiting. Under\neventlet that is free because greenthreads are cooperative and the\ncaller yields; under native threading both threads are real and the\nunnecessary spawn adds per-call overhead under GIL contention.\n\nOverride __call__ in the threading subclass to run the retry loop\ndirectly in the caller thread using time.sleep between attempts.\n_retry_count and _sleep_time continue to accumulate on the decorator\ninstance for backwards compatibility.\n\nUpdate SleepFixture to also patch the threading-backend sleep path so\nfixture-based tests pass under either backend.\n\nChange-Id: I0df218a32a88a73be4b958940103290a7910f950\nSigned-off-by: Fabian Wiesel \u003cfabian.wiesel@sap.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.service/commit/917ca198378eb0384dc3ef97b0ab36b7295a4167"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.service/commit/917ca198378eb0384dc3ef97b0ab36b7295a4167"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Backport-Candidate","description":"Backport candidate status","status":"NOT_APPLICABLE","is_legacy":false,"applicability_expression_result":{"fulfilled":false,"status":"FAIL"},"submittability_expression_result":{"expression":"is:true","fulfilled":true,"status":"NOT_EVALUATED","passing_atoms":[],"failing_atoms":[],"atom_explanations":{}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Workflow\u003dMAX","label:Workflow\u003dMIN"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
