)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"0971284804aaf07f50aeb7113bb9f31891fa486b","unresolved":true,"context_lines":[{"line_number":10,"context_line":"image downloading [1] we write data to file in chanks using standard"},{"line_number":11,"context_line":"\u0027write\u0027 method [2] or we do a copy using \u0027shutil.copyfileobj\u0027 [3]"},{"line_number":12,"context_line":"function."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Both of them are note affected by eventlet bug [4] and [5], so"},{"line_number":15,"context_line":"removing threads increases image downloading performance."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"[1] https://opendev.org/openstack/cinder/src/tag/17.0.1/cinder/image/glance.py#L353"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"77964ff3_9176781a","line":14,"range":{"start_line":13,"start_character":0,"end_line":14,"end_character":58},"updated":"2020-12-10 17:24:49.000000000","message":"-1: During my tests fixing bug #1801958 [1] the call to standard `write` was one the methods that was blocking in some cases, even though it shouldn\u0027t (I don\u0027t remember about `copyfileobje`).\n\nThat was with Python 2, is that somehow no longer the case on Python 3?  How have you confirmed it?\n\nIn my opinion to solve performance issues introduced by the constant native thread proxying we need to resolve/workaround the bug that blocks greenthreads with concurrent logging.  That way we\u0027ll be able to create a single native thread at the top of the call chain instead of one per object call. \n\n[1]: https://bugs.launchpad.net/cinder/+bug/1801958","commit_id":"8aad2d54cb423c5bb4a79b258905ac7b117bb9dd"}]}
