Skip setting PT information in WAL during recovery
If the system crashes when splitting a btree page and the WAL of downlink to the parent is not flushed, crash recovery will complete this step in 'btree_xlog_cleanup' and it may led to split the parent, which will write a new WAL record in '_bt_split'. We skip populating the PT information during recovery in function 'RelationNeedToFetchGpRelationNodeForXLog' and it will cause PANIC in this case. This is fixed in 6X and later version by commit '40dae7ec'. This commit only set invalid PT information in the new WAL record. Co-authored-by: NGang Xiong <gangx@vmware.com>
Showing
想要评论请 注册 或 登录