Fixed by removing the check of single lock in sequence insert and let MDL code handle deadlock detection
Attach a file by drag & drop or click to upload