!4925 修复:failover过程中,集群卡在starting状态,备1启动轮reform失败,应该退出,但是未退出
Merge pull request !4925 from songlinxuan/master
This commit is contained in:
@ -251,8 +251,8 @@ enable_show_any_tuples|bool|0,0|NULL|NULL|
|
||||
enable_sort|bool|0,0|NULL|NULL|
|
||||
enable_incremental_catchup|bool|0,0|NULL|NULL|
|
||||
wait_dummy_time|int|1,2147483647|NULL|NULL|
|
||||
heap_bulk_read_size|int|0,512|kB|Bulk blocks number for seqscan pre-read.|
|
||||
vacuum_bulk_read_size|int|0,512|kB|Bulk blocks number for vacuum pre-read.|
|
||||
heap_bulk_read_size|int|0,64|kB|Bulk blocks number for seqscan pre-read.|
|
||||
vacuum_bulk_read_size|int|0,64|kB|Bulk blocks number for vacuum pre-read.|
|
||||
max_active_global_temporary_table|int|0,1000000|NULL|NULL|
|
||||
max_inner_tool_connections|int|1,0x3FFFF|NULL|NULL|
|
||||
max_recursive_times|int|0,2147483647|NULL|NULL|
|
||||
|
@ -279,6 +279,8 @@ const char* unit_eight_kB_parameter_list[] = {
|
||||
"wal_buffers",
|
||||
"wal_segment_size",
|
||||
"huge_page_size",
|
||||
"heap_bulk_read_size",
|
||||
"vacuum_bulk_read_size"
|
||||
};
|
||||
/* the size of page, unit is kB */
|
||||
#define PAGE_SIZE 8
|
||||
|
@ -425,7 +425,7 @@ void CheckpointerMain(void)
|
||||
u_sess->stat_cxt.BgWriterStats->m_requested_checkpoints++;
|
||||
}
|
||||
|
||||
if (t_thrd.checkpoint_cxt.shutdown_requested) {
|
||||
if (t_thrd.checkpoint_cxt.shutdown_requested || pmState == PM_SHUTDOWN) {
|
||||
/*
|
||||
* From here on, elog(ERROR) should end with exit(1), not send
|
||||
* control back to the sigsetjmp block above
|
||||
|
Reference in New Issue
Block a user