optimize join/update/leave race