[ci skip] Merge pull request #5170 from tianhe1986/develop_session_race_condition

Decreasing the probability of race condition in session lock
2 files changed