diff --git a/storage/pbxt/src/lock_xt.cc b/storage/pbxt/src/lock_xt.cc index 946adfecccc..5dbba9db83a 100644 --- a/storage/pbxt/src/lock_xt.cc +++ b/storage/pbxt/src/lock_xt.cc @@ -1424,6 +1424,7 @@ xtPublic void xt_spinxslock_init(struct XTThread *XT_UNUSED(self), XTSpinXSLockP #endif { sxs->sxs_xlocked = 0; + sxs->sxs_xwaiter = 0; sxs->sxs_rlock_count = 0; sxs->sxs_wait_count = 0; #ifdef DEBUG