mirror of
https://gitee.com/he3db/he3pg.git
synced 2024-12-02 04:07:34 +08:00
slave convert to master no need pushtikv
Code Source From: Self Code Description: 【Optional】 Jira: #【Optional】 市场项目编号(名称):【Optional】
This commit is contained in:
parent
84e6416972
commit
3f5feb7c81
@ -5913,7 +5913,7 @@ xact_redo_commit(xl_xact_parsed_commit *parsed,
|
||||
*/
|
||||
XLogFlush(lsn);
|
||||
|
||||
if (push_standby || !EnableHotStandby || *isPromoteIsTriggered)
|
||||
if (push_standby || !EnableHotStandby)
|
||||
{
|
||||
pushTikv(0, hashMapSize(), true);
|
||||
} else {
|
||||
@ -6031,7 +6031,7 @@ xact_redo_abort(xl_xact_parsed_abort *parsed, TransactionId xid,
|
||||
*/
|
||||
XLogFlush(lsn);
|
||||
|
||||
if (push_standby || !EnableHotStandby || *isPromoteIsTriggered)
|
||||
if (push_standby || !EnableHotStandby)
|
||||
{
|
||||
pushTikv(0, hashMapSize(), true);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user