[Fix] Checking existence before using the accessor
commitafba583ee548deec17dc716dc5fd1a068deaa08a
authorqigao <gao@fb.com>
Wed, 21 Sep 2011 00:06:28 +0000 (20 17:06 -0700)
committermacvicar <macvicar@fb.com>
Fri, 23 Sep 2011 23:37:36 +0000 (23 16:37 -0700)
tree253cb4b62cc20dd7b5b800047bb98512a0467a8e
parentd17d8745e911e8f5c7a9755a612d06183585ab34
[Fix] Checking existence before using the accessor

Summary:
In some rare case, the key may get deleted when being converted, then
using the accessor would case a segv.

Test Plan:
make fast_tests
production testing

Reviewers: myang

Reviewed By: myang

CC: ps, mwilliams, myang, qigao
Differential Revision: 330125

Task ID: 722616
src/runtime/base/shared/concurrent_shared_store.cpp