Tim Armstrong has uploaded a new change for review. http://gerrit.cloudera.org:8080/4690
Change subject: IMPALA-4274: hang in buffered-block-mgr-test ...................................................................... IMPALA-4274: hang in buffered-block-mgr-test We started seeing hangs in CreateDestroyMulti() where a thread was recursively acquiring static_block_mgrs_lock_. This is only possible because a shared_ptr is destroyed while holding the lock. The fix is to reset the shared_ptr only after releasing the lock. Testing: I was unable to reproduce the hang locally, but the callstack in the JIRA was a strong enough smoking gun to feel confident that this should fix the hang. Change-Id: I21f3da1d09cdd101a28ee850f46f24acd361b604 --- M be/src/runtime/buffered-block-mgr.cc 1 file changed, 7 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/90/4690/1 -- To view, visit http://gerrit.cloudera.org:8080/4690 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I21f3da1d09cdd101a28ee850f46f24acd361b604 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tim Armstrong <[email protected]>
