Em sáb., 13 de fev. de 2021 às 01:07, Zhihong Yu <zyu@yugabyte.com> escreveu:Hi,How about the following patch ?ReorderBufferSetBaseSnapshot() can return a bool to indicate whether the base snapshot is set up.For the call by SnapBuildCommitTxn(), it seems xid is top transaction. So the return value doesn't need to be checked.IMO anything else is better than PANIC.Anyway, if all fails, reporting an error can contribute to checking where.Attached a patch suggestion v2.
Hi,How about the following patch ?ReorderBufferSetBaseSnapshot() can return a bool to indicate whether the base snapshot is set up.For the call by SnapBuildCommitTxn(), it seems xid is top transaction. So the return value doesn't need to be checked.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных