Commit Graph

66 Commits

Author SHA1 Message Date
mjq c6c3b2c722 修改gs_guc和主备同步参数备份文件名相同导致同时读写同一个文件产生中间态,导致core
修改local_syscache为usess
2022-04-21 17:32:40 +08:00
justbk bf712a1cc6 apply lock modify 2022-04-02 18:16:51 +08:00
ZigSmith 62b1943825 添加guc参数num_internal_lock_partitions, 进行锁分区的配置 2022-03-29 19:27:36 +08:00
liuchun 7ffe72acb5 notify 支持指定cascade standby 2022-02-24 15:59:16 +08:00
luozihao ebd0d53b9a fixed the bug that database cannot stop 2022-01-20 15:54:39 +08:00
luozihao ec386db397 修复switchover备升主新主机core的bug 2021-12-21 17:42:30 +08:00
luozihao 518f8250d6 new solution of standby archive 2021-10-26 19:38:02 +08:00
luozihao d31aeb6bbf rollback standby archive 2021-10-19 09:31:58 +08:00
luozihao aedb48e7e1 禁用备机归档 2021-09-12 10:02:04 +08:00
yanghao d1c210cdc0 add method to clean idle connection while oom 2021-09-03 16:32:12 +08:00
dengxuyue 0d1a224b9b fix switchover & stop walreceiver exit abnormal 2021-08-06 19:16:07 +08:00
opengauss-bot c5661c88a9 !1033 fix gpc bug and optimize gpc performance
Merge pull request !1033 from gentle_hu/2.0.0
2021-07-27 12:41:51 +00:00
mujinqiang be03869079 改此处判断HA端口方式,isLocalport接口在走AF_UNIX协议时不生效 2021-07-17 11:26:56 +08:00
opengauss-bot e55fe34bd1 !1067 RAS:UCE故障感知修改函数入口以及退出方式
Merge pull request !1067 from Ricardo_Cui/2.0.0
2021-07-03 06:44:16 +00:00
Hemny 75b48e5d5d 备机连接可以走非HA端口,根据配置中的连接信息决定 2021-07-02 17:38:25 +08:00
Hemny 0cd2b0be96 修复 使用replication协议连接监听端口后,数据库stop失败的问题
openGauss中,replication协议不能用线程池的线程。
如果数据库启用了线程池,并且出现用户操作失误使用了replication协议工具连接监听端口,连接失败后造成工作线程直接退出,引起gs_ctl stop停库失败。

现在直接在连接数据库时限制如果线程池模式下,replication工具只能通过HA端口连接数据库。
2021-07-02 17:38:10 +08:00
Ricaro.Cui 9e08c03365 RAS:UCE 2021-07-01 20:26:06 +08:00
gentle_hu 5801e94cb5 fix gpc bug and optimize gpc performance 2021-06-17 09:56:36 +08:00
Racardo.Cui fe108e5081 RAS:基于4P pro的UCE故障感知 2021-06-11 11:11:49 +08:00
luozihao 03f5c450a7 Enable the xlog archiving function of the standby node 2021-05-10 20:29:32 +08:00
mujinqiang 1c05419296 回合代码fixvacuum+limit语句不退出 2021-04-22 21:06:34 +08:00
maxiang 4b6da7ef01 update src/gausskernel/process/postmaster/postmaster.cpp.
适配gs_clean权限,与分布式保持一致
2021-03-31 11:49:09 +08:00
zankyfun4 78c7204a9c fix the bind fail problem 2021-03-29 19:19:04 +08:00
opengauss-bot 701f3d7446 !836 修复stream线程池在启动stream线程数超出proc槽位后出现的hang问题
Merge pull request !836 from 杨皓/master
2021-03-29 11:49:07 +08:00
yanghao c87ee615f6 fix problem that CleanSystemCaches not correct 2021-03-27 16:38:08 +08:00
maxiang a083b48997 update src/gausskernel/process/postmaster/postmaster.cpp.
解决switchover时,主机一直demoting的问题
2021-03-19 12:35:54 +08:00
yanghao 384bb1ae83 fix problem that stream thread pool may cause hang while exceed max_connections 2021-03-18 17:51:55 +08:00
Xiao__Ma 1b839ebef6 update src/gausskernel/process/postmaster/postmaster.cpp.
添加集中式twophasecleaner退出逻辑
2021-03-18 12:44:30 +08:00
LiHeng 08b8f9cb9a clean residue temp table after gaussdb crash and restart 2021-03-16 21:13:54 +08:00
opengauss-bot e7998d8cde !820 preInit xlog file in walWriterAuxiliary thread for better performance
Merge pull request !820 from 熊小军/master
2021-03-16 16:30:46 +08:00
xiong_xjun 2d95808c4e preInit xlog file in walWriterAuxiliary thread for better performance 2021-03-16 15:31:31 +08:00
chenxiaobin e311131157 let heartbeat thread shut down while closing checkpointer thread 2021-03-15 21:41:58 +08:00
opengauss-bot 80dbc076bb !776 修复在线扩容bug
Merge pull request !776 from 薛蒙恩/master
2021-03-10 10:57:11 +08:00
xiong_xjun 24678f1045 xlog lock-less 2021-03-09 18:59:55 +08:00
薛蒙恩 594fbeb152 Merge branch 'master' of gitee.com:opengauss/openGauss-server into master 2021-03-08 16:05:20 +08:00
薛蒙恩 a19439e8b0 修复在线扩容代码bug 2021-03-08 15:46:54 +08:00
dengxuyue 3d79c59118 Misc bugfixes 2021-03-06 12:39:28 +08:00
xue_meng_en c8fc35acc3 支持在线扩容内核适配修改 2021-02-03 11:37:29 +08:00
dengxuyue 1567043064 同步source code
日期: 12-26
    revision: ee5b054c
2020-12-28 22:19:21 +08:00
opengauss-bot 0f90d0b106 !492 Delete the command line option parse about -O of gaussdb.
Merge pull request !492 from Yuejia/master
2020-12-16 16:45:41 +08:00
jeffee 5d0218bec4 xlog lock less modify 2020-12-14 14:25:48 +08:00
syj 15176163dd Delete the command line option parse about -O of gaussdb. 2020-12-14 11:52:36 +08:00
opengauss-bot 85b1af40e1 !485 Delete the command line option -O of gaussdb.
Merge pull request !485 from Yuejia/master
2020-12-14 09:17:51 +08:00
syj a2410a6365 Delete the command line option -O of gaussdb. 2020-12-12 11:06:37 +08:00
z00574602 00959bd400 add hypo-index 2020-12-09 20:13:24 +08:00
testinchina 25fcadc71f 1. Support the feature of shrinking a standby server
2. Fix the issue of #I1N6G7: link https://gitee.com/opengauss/openGauss-server/issues/I1N6G7
3. link #I1N6G7
2020-11-28 16:01:48 +08:00
LiHeng f295a72b65 support cascade standby
We support cascade standby now, a cascade standby will get WAL from
a standby asynchronously. To support flexible deployment, we add a
new GUC available_zone to identify the available zone of a cascade
standby, which will try to connect a standby in same available zone.

Users can use utility gs_ctl for failover and switchover. A cascade
standby will be promoted to be a standby when failover or switchover,
while a standby will be demoted to be a cascade standby after switchover.
2020-10-30 20:27:47 +08:00
Vinoth Veeraraghavan e171752f13 MOT code cleanup 2020-10-12 18:03:03 +08:00
opengauss-bot 8b1aaa44a4 !273 共享缓冲区淘汰算法优化
Merge pull request !273 from jun/dev_ca1cb4cb_1
2020-09-28 23:04:16 +08:00
huanglianjun 324fa01242 smart buffer pool 2020-09-28 22:25:13 +08:00