Closed tobehardest closed 1 year ago
If record == nil, the if statement cannot enter, and Rlock will never Runlock, which will cause the wait reader of this lock to increase continuously, and finally when the wait reader == 98, panic
Thanks, I have fixed in https://github.com/rosedblabs/rosedb/commit/bca110f04908a224294646abb20907db4b6e9f57
If record == nil, the if statement cannot enter, and Rlock will never Runlock, which will cause the wait reader of this lock to increase continuously, and finally when the wait reader == 98, panic