Commit Graph

27 Commits

Author SHA1 Message Date
cb6fdaf50d !632 重构time stamp相关代码实现
Merge pull request !632 from 赵文浩/master
2021-02-08 16:48:36 +08:00
a2b91178d9 重构time stamp相关代码实现 2021-02-08 10:27:13 +08:00
924550db38 !635 fix xlog could not cleanup with cascade standby
Merge pull request !635 from LiHeng/master
2021-01-20 11:29:48 +08:00
1c728fb3da !621 set WalSndCaughtUp to thread_local variable
Merge pull request !621 from chenxiaobin/WalSndCaughtup
2021-01-19 09:57:20 +08:00
842fe8657f fix xlog could not cleanup with cascade standby 2021-01-16 21:12:07 +08:00
d54fc03793 set WalSndCaughtUp to thread context variable 2021-01-14 15:23:03 +08:00
e5e6685e68 use memcpy_s to copy the return time_str 2021-01-11 15:21:40 +08:00
1567043064 同步source code
日期: 12-26
    revision: ee5b054c
2020-12-28 22:19:21 +08:00
4ca2c45a6c !499 逻辑复制时,增大逻辑复制插件的选项长度限制。
Merge pull request !499 from 吕辉/increased_length_limit_for_logical_replication_plugin
2020-12-28 20:33:50 +08:00
fa3ce00eed 修补不同步配置文件的bug 2020-12-25 10:24:30 +08:00
31b29d863f 支持不同步配置文件 2020-12-17 12:30:09 +08:00
eb1b2f05cb 逻辑复制时,增大逻辑复制插件的选项长度限制。 注:因为末确定此处限制来源,所以保留限制变量为从200调整为20000 2020-12-14 17:42:17 +08:00
5d0218bec4 xlog lock less modify 2020-12-14 14:25:48 +08:00
4f555b77ef !438 支持配置文件同步时间间隔由用户配置
Merge pull request !438 from 薛蒙恩/master
2020-11-30 11:17:36 +08:00
61c9feb253 MOT code cleanup 2020-11-30 10:19:18 +08:00
cdd5776857 支持配置文件同步时间间隔由用户配置 2020-11-25 20:51:13 +08:00
a886daf329 add identify available zone command for cascade standby
We add a column for identify mode before for identify az, which not
compatible with distributed gaussdb. Therefore, we remove the added
column in identify mode, and add another command identify az to make
sure a cascade standby and its upstream both in same available zone.
2020-11-08 20:20:40 +08:00
957587f4ea !379 gs_basebackup mot basebackup timeout
Merge pull request !379 from 吴岳川/master
2020-11-04 17:24:54 +08:00
19f1dbb891 mot backup timeout 2020-11-04 15:05:40 +08:00
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
dcbdbcfa4e 将物理复制槽的名字的最大长度从62改为63,跟pg保持一致。 2020-09-15 17:24:55 +08:00
e2cb7cb626 gs_basebackup occasionally failed when compress=9 2020-09-02 16:19:49 +08:00
cb2ed43867 !122 set openGauss thread name and add getting function of t_thrd and u_sess
Merge pull request !122 from chenxiaobin/master
2020-08-21 23:23:52 +08:00
c3b5c49794 set thread name and provide getting functions of t_thrd and u_sess 2020-08-20 21:58:06 +08:00
b51172de8c fix bugs for logical replication 2020-08-18 23:42:14 +08:00
c63724ab32 merge logical replication code 2020-07-29 16:53:06 +08:00
815a9771fb first commit for openGauss server 2020-06-30 17:38:27 +08:00