Fix missing txn_id logs in GreenAsyncPile's spawned functions
This commit ensures that the logger thread_locals
value is passed to and set in _get_conn_response methods
executed in a green thread.
Added partial bug tag because in bug description a more
relevant fix is suggested which would fix the bug completely
but for now this makes sense to add this commit for logging.
Reviewed: https:/ /review. openstack. org/278176 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=4906b4c431e dc436f165b163a2 28b0a221950c79
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4906b4c431edc43 6f165b163a228b0 a221950c79
Author: Janonymous <email address hidden>
Date: Tue Jan 12 12:50:43 2016 +0530
Fix missing txn_id logs in GreenAsyncPile's spawned functions
This commit ensures that the logger thread_locals
value is passed to and set in _get_conn_response methods
executed in a green thread.
Added partial bug tag because in bug description a more
relevant fix is suggested which would fix the bug completely
but for now this makes sense to add this commit for logging.
Co-Authored-By: Clay Gerrard <email address hidden> 318d69bb0674ed2 3dc9ec25b9a
Change-Id: I13bbf174fdca89
Partial-Bug: #1409302