[PATCH 0/3] fix some issue in concurrency scenarios