Reviewed: https://review.openstack.org/147165 Committed: https://git.openstack.org/cgit/stackforge/vmware-nsx/commit/?id=89beca8f87056cf5bac90e4456f4297d2f0d92e8 Submitter: Jenkins Branch: master
commit 89beca8f87056cf5bac90e4456f4297d2f0d92e8 Author: Han Zhou <email address hidden> Date: Wed Jan 14 14:10:56 2015 +0000
Fix retry logic for UnAuthorizedRequest in race-condition
Authentication cookie can be set to None by another thread thus cause current thread retry get aborted by mistake.
The fix is removing the abort logic, because even if the cookie is None, it would then re-login and get a new cookie before retry.
Change-Id: I8b94de41fa2f3be17d317fd80e4becdad9285f7d Closes-Bug: 1410805
Reviewed: https:/ /review. openstack. org/147165 /git.openstack. org/cgit/ stackforge/ vmware- nsx/commit/ ?id=89beca8f870 56cf5bac90e4456 f4297d2f0d92e8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 89beca8f87056cf 5bac90e4456f429 7d2f0d92e8
Author: Han Zhou <email address hidden>
Date: Wed Jan 14 14:10:56 2015 +0000
Fix retry logic for UnAuthorizedRequest in race-condition
Authentication cookie can be set to None by another thread thus
cause current thread retry get aborted by mistake.
The fix is removing the abort logic, because even if the cookie is
None, it would then re-login and get a new cookie before retry.
Change-Id: I8b94de41fa2f3b e17d317fd80e4be cdad9285f7d
Closes-Bug: 1410805