Need to lock when accessing global prepared transaction data during checkpoint. (#10094)
Those data are stored as extended checkpoint so that prepared transactions are not forgotten after checkpoint. If we access them without lock, it is possible that we access some inconsistent data. That will lead to some unknown behaviors. Reviewed-by: NHao Wu <hawu@pivotal.io> Reviewed-by: NAshwin Agrawal <aagrawal@pivotal.io>
Showing
想要评论请 注册 或 登录