commit 82457f2462621b6a9c653dce2baf38d0623e25ee
Author: Marian Horban <email address hidden>
Date: Mon Dec 7 07:30:11 2015 -0500
Replace copy.deepcopy of RequestContext with copy.copy
Instance of RequestContext contains many objects and some of them like
mutexes could not be copied. Also a deepcopy of the entire
RequestContext wastes CPU time.
To avoid problems with deepcopy and avoid performance overhead this
patch changes deepcopy of RequestContext to shallow copy and makes
deepcopy of only the 'roles' member because of security issue
LP #1386932.
Reviewed: https:/ /review. openstack. org/260615 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=82457f24626 21b6a9c653dce2b af38d0623e25ee
Committed: https:/
Submitter: Jenkins
Branch: master
commit 82457f2462621b6 a9c653dce2baf38 d0623e25ee
Author: Marian Horban <email address hidden>
Date: Mon Dec 7 07:30:11 2015 -0500
Replace copy.deepcopy of RequestContext with copy.copy
Instance of RequestContext contains many objects and some of them like
mutexes could not be copied. Also a deepcopy of the entire
RequestContext wastes CPU time.
To avoid problems with deepcopy and avoid performance overhead this
patch changes deepcopy of RequestContext to shallow copy and makes
deepcopy of only the 'roles' member because of security issue
LP #1386932.
Closes-Bug: #1506958 cd0ec7bf0754587 89d6fb06e99
Related-Bug: #1386932
Change-Id: I1e2c00e95e1c4b