kubeblocks
kubeblocks copied to clipboard
[BUG] damengdb full restore primary role is null on AKS
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- create cluster
apiVersion: v1
kind: Secret
metadata:
name: damengdb-tkvwwf-license
namespace: default
type: Opaque
---
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
name: damengdb-tkvwwf
namespace: default
spec:
clusterDef: damengdb
topology: realtime-replication
terminationPolicy: WipeOut
componentSpecs:
- name: dmdb
serviceVersion: 8.1.3-26-20240821
replicas: 2
env:
- name: "OGUID"
value: "1"
- name: "UNICODE_FLAG"
value: "1"
- name: "LENGTH_IN_CHAR"
value: "1"
- name: "CASE_SENSITIVE"
value: "0"
- name: "BLANK_PAD_MODE"
value: "0"
- name: "ARCH_WAIT_APPLY"
value: "0"
- name: "HOST_NETWORK"
value: "disabled"
- name: "TIME_ZONE"
value: "+08:00"
- name: "ENABLE_AUDIT"
value: "true"
- name: "INSTANCE_NAME_PREFIX"
value: ""
- name: "PAGE_SIZE"
value: "8"
- name: "EXTENT_SIZE"
value: "16"
- name: "LOG_SIZE"
value: "2048"
- name: "SORT_MODE"
value: "0"
- name: "PK_CLUSTER_MODE"
value: "0"
- name: "ARCH_SPACE_LIMIT"
value: "51200"
- name: "IS_REMOTE_BACKUP"
value: "false"
- name: "REMOTE_TIMER_INTERVAL"
value: "1"
volumes:
- name: license
secret:
secretName: damengdb-tkvwwf-license
resources:
requests:
cpu: 1000m
memory: 2Gi
limits:
cpu: 1000m
memory: 2Gi
volumeClaimTemplates:
- name: data
spec:
storageClassName:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
- name: arch
spec:
storageClassName:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
- name: log
spec:
storageClassName:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
- name: dmmonitor
serviceVersion: 8.1.3-26-20240821
replicas: 1
env:
- name: "OGUID"
value: "1"
- name: "SERVICE_VERSION"
value: "8.1.3-26-20240821"
resources:
requests:
cpu: 1000m
memory: 2Gi
limits:
cpu: 1000m
memory: 2Gi
volumeClaimTemplates:
- name: data
spec:
storageClassName:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
- backup
kbcli cluster backup damengdb-tkvwwf --method full
kbcli cluster describe-backup --names backup-default-damengdb-tkvwwf-20250905115401 --namespace default
Name: backup-default-damengdb-tkvwwf-20250905115401 Cluster: damengdb-tkvwwf Namespace: default
Spec:
Method: full
Policy Name: damengdb-tkvwwf-dmdb-backup-policy
Actions:
dp-backup-0:
ActionType: Job
WorkloadName: dp-backup-0-backup-default-damengdb-tkvwwf-20250905115401-ba817
TargetPodName: damengdb-tkvwwf-dmdb-0
Phase: Completed
Start Time: Sep 05,2025 11:54 UTC+0800
Completion Time: Sep 05,2025 11:54 UTC+0800
Extras:
=================== 1 ===================
beginLsn: 41026
endLsn: 41026
Status:
Phase: Completed
Total Size: 883363
ActionSet Name: dmdb-full-backup
Repository: backuprepo-kbcli-test
Duration: 15s
Start Time: Sep 05,2025 11:54 UTC+0800
Completion Time: Sep 05,2025 11:54 UTC+0800
Path: /default/damengdb-tkvwwf-d7245f71-bda3-4ef2-9458-303d2f2f2e21/dmdb/backup-default-damengdb-tkvwwf-20250905115401
Time Range Start: Sep 05,2025 11:50 UTC+0800
Time Range End: Sep 05,2025 11:51 UTC+0800
Warning Events: <none>
- restore
kbcli cluster restore damengdb-tkvwwf-backup --backup backup-default-damengdb-tkvwwf-20250905115401
- See error
kubectl get cluster damengdb-tkvwwf-backup
NAME CLUSTER-DEFINITION TERMINATION-POLICY STATUS AGE
damengdb-tkvwwf-backup damengdb WipeOut Updating 3m23s
➜ ~
➜ ~ kubectl get pod -l app.kubernetes.io/instance=damengdb-tkvwwf-backup
NAME READY STATUS RESTARTS AGE
damengdb-tkvwwf-backup-dmdb-0 4/4 Running 0 3m10s
damengdb-tkvwwf-backup-dmdb-1 4/4 Running 0 2m23s
damengdb-tkvwwf-backup-dmmonitor-0 1/1 Running 0 3m34s
➜ ~
➜ ~ kubectl get cmp -l app.kubernetes.io/instance=damengdb-tkvwwf-backup
NAME DEFINITION SERVICE-VERSION STATUS AGE
damengdb-tkvwwf-backup-dmdb dmdb-repl-8.1.3-1.0.0 8.1.3-26-20240821 Creating 3m49s
damengdb-tkvwwf-backup-dmmonitor dmmonitor-8.1-1.0.0 8.1.3-26-20240821 Running 3m49s
➜ ~
➜ ~ kbcli cluster list-instances damengdb-tkvwwf-backup
NAME NAMESPACE CLUSTER COMPONENT STATUS ROLE ACCESSMODE AZ CPU(REQUEST/LIMIT) MEMORY(REQUEST/LIMIT) STORAGE NODE CREATED-TIME
damengdb-tkvwwf-backup-dmdb-0 default damengdb-tkvwwf-backup dmdb Running <none> 0 1 / 1 2Gi / 2Gi data:20Gi aks-str8v3-36690718-vmss00000i/10.224.1.218 Sep 05,2025 12:12 UTC+0800
arch:20Gi
log:20Gi
damengdb-tkvwwf-backup-dmdb-1 default damengdb-tkvwwf-backup dmdb Running standby 0 1 / 1 2Gi / 2Gi data:20Gi aks-str8v3-36690718-vmss00000h/10.224.1.166 Sep 05,2025 12:13 UTC+0800
arch:20Gi
log:20Gi
dameng
logs kbagent
➜ ~ kubectl logs damengdb-tkvwwf-backup-dmdb-0 kbagent
2025-09-05T04:13:05Z INFO create service Action {"actions": "roleProbe"}
2025-09-05T04:13:05Z INFO create service Probe {"probes": "roleProbe"}
2025-09-05T04:13:05Z INFO create service Streaming {"actions": ""}
2025-09-05T04:13:05Z INFO service Action started...
2025-09-05T04:13:05Z INFO service Probe started...
2025-09-05T04:13:05Z INFO service Streaming started...
2025-09-05T04:13:05Z INFO starting the HTTP server
2025-09-05T04:13:05Z INFO register service to server {"service": "Action", "method": "POST", "uri": "/v1.0/action"}
2025-09-05T04:13:05Z INFO register service to server {"service": "Probe", "method": "POST", "uri": "/v1.0/probe"}
2025-09-05T04:13:05Z INFO register service to server {"service": "Streaming", "method": "POST", "uri": "/v1.0/streaming"}
2025-09-05T04:13:05Z INFO starting the streaming server
2025-09-05T04:13:05Z INFO probe started {"probe": "roleProbe", "config": {"instance":"damengdb-tkvwwf-backup-dmdb","action":"roleProbe","periodSeconds":2}}
2025-09-05T04:13:05Z INFO send probe event {"probe": "roleProbe", "probe": "roleProbe", "code": 0, "output": "", "message": ""}
➜ ~
➜ ~ kubectl logs damengdb-tkvwwf-backup-dmdb-1 kbagent
2025-09-05T04:13:38Z INFO create service Action {"actions": "roleProbe"}
2025-09-05T04:13:38Z INFO create service Probe {"probes": "roleProbe"}
2025-09-05T04:13:38Z INFO create service Streaming {"actions": ""}
2025-09-05T04:13:38Z INFO service Action started...
2025-09-05T04:13:38Z INFO service Probe started...
2025-09-05T04:13:38Z INFO service Streaming started...
2025-09-05T04:13:38Z INFO starting the HTTP server
2025-09-05T04:13:38Z INFO register service to server {"service": "Action", "method": "POST", "uri": "/v1.0/action"}
2025-09-05T04:13:38Z INFO register service to server {"service": "Probe", "method": "POST", "uri": "/v1.0/probe"}
2025-09-05T04:13:38Z INFO register service to server {"service": "Streaming", "method": "POST", "uri": "/v1.0/streaming"}
2025-09-05T04:13:38Z INFO probe started {"probe": "roleProbe", "config": {"instance":"damengdb-tkvwwf-backup-dmdb","action":"roleProbe","periodSeconds":2}}
2025-09-05T04:13:38Z INFO starting the streaming server
2025-09-05T04:13:38Z INFO send probe event {"probe": "roleProbe", "probe": "roleProbe", "code": 0, "output": "", "message": ""}
2025-09-05T04:14:34Z INFO send probe event {"probe": "roleProbe", "probe": "roleProbe", "code": 0, "output": "standby", "message": ""}
kubectl logs damengdb-tkvwwf-backup-dmdb-0
Defaulted container "dmdb" out of: dmdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init)
* Starting OpenBSD Secure Shell server sshd
...done.
2025-09-05 04:13:05 INFO: link /usr/lib/x86_64-linux-gnu/libpcre.so.3 to /opt/dmdbms/bin/libpcre.so.1
2025-09-05 04:13:05 INFO: Start Cron Server.
2025-09-05 04:13:05 INFO: Start to init DM DB
2025-09-05 04:13:05 INFO: ./dminit PATH=/opt/dmdbms/data INSTANCE_NAME=DMDB_0 PAGE_SIZE=8 CASE_SENSITIVE=0 UNICODE_FLAG=1 EXTENT_SIZE=16 TIME_ZONE=+08:00 BLANK_PAD_MODE=0 LOG_SIZE=2048 BUFFER=1000 PORT_NUM=5236 ELOG_PATH=/opt/dmdbms/log LENGTH_IN_CHAR=1
file dm.key not found, use default license!
License will expire in 14 day(s) on 2025-09-19
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
log file path: /opt/dmdbms/data/DAMENG/DAMENG01.log
log file path: /opt/dmdbms/data/DAMENG/DAMENG02.log
write to dir [/opt/dmdbms/data/DAMENG].
create dm database success. 2025-09-05 04:13:08
initdb V8
db version: 0x7000c
2025-09-05 04:13:08 INFO: Init DM success!
2025-09-05 04:13:08 INFO: configure dm.ini
2025-09-05 04:13:09 INFO: configure dmarch.ini
2025-09-05 04:13:09 INFO: configure dmmal.ini
2025-09-05 04:13:09 INFO: configure dmwatcher.ini
2025-09-05 04:13:09 INFO: configure dmtimer.ini
2025-09-05 04:13:09 INFO: timer internal: 1
2025-09-05 04:13:09 INFO: Start DmAPService...
2025-09-05 04:13:09 INFO: Start DmAPService success!
2025-09-05 04:13:09 INFO: Start DMSERVER without mount
2025-09-05 04:13:09 INFO: Start DMSERVER success!
2025-09-05 04:13:09 INFO: Dmserver is running.
2025-09-05 04:13:09 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:14 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:19 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:24 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:29 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:34 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:39 INFO: DM Database is OK
2025-09-05 04:13:39 INFO: Stop DMSERVER to do init backup data...
2025-09-05 04:13:39 INFO: Stop dmserver
2025-09-05 04:13:39 INFO: Wait to stop dmserver...
2025-09-05 04:13:42 INFO: Wait to stop dmserver...
2025-09-05 04:13:45 INFO: Stop dmserver success!
2025-09-05 04:13:45 INFO: Stop DMSERVER success, start to backup data...
2025-09-05 04:13:45 INFO: restore the instance from backup
file dm.key not found, use default license!
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
dmrman V8
RESTORE DATABASE '/opt/dmdbms/data/DAMENG/dm.ini' FROM BACKUPSET '/opt/dmdbms/arch/backup/INIT_FULL_BACKUP'
[Percent:100.00%][Speed:0.00M/s][Cost:00:00:03][Remaining:00:00:00]
restore successfully.
time used: 00:00:03.725
file dm.key not found, use default license!
Database mode = 2, oguid = 1
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
EP[0]'s cur_lsn[41026], file_lsn[41026]
dmrman V8
RECOVER DATABASE '/opt/dmdbms/data/DAMENG/dm.ini' FROM BACKUPSET '/opt/dmdbms/arch/backup/INIT_FULL_BACKUP'
[Percent:100.00%][Speed:0.00PKG/s][Cost:00:00:00][Remaining:00:00:00]
recover successfully!
time used: 00:00:02.557
file dm.key not found, use default license!
Database mode = 2, oguid = 1
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
EP[0]'s cur_lsn[41508], file_lsn[41508]
dmrman V8
RECOVER DATABASE '/opt/dmdbms/data/DAMENG/dm.ini' UPDATE DB_MAGIC;
recover successfully!
time used: 00:00:01.099
2025-09-05 04:13:53 INFO: Start DMSERVER with mount
2025-09-05 04:13:53 INFO: Start DMSERVER success!
2025-09-05 04:13:53 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:58 INFO: DM Database is OK
2025-09-05 04:13:58 INFO: Set mode primary
Server[localhost:5236]:mode is primary, state is mount
login used time : 2.315(ms)
disql V8
SQL> DMSQL executed successfully
used time: 11.932(ms). Execute id is 100.
SQL> executed successfully
used time: 20.071(ms). Execute id is 0.
SQL> DMSQL executed successfully
used time: 10.189(ms). Execute id is 101.
SQL> 2025-09-05 04:13:58 INFO: Set OGUID 1
Server[localhost:5236]:mode is primary, state is mount
login used time : 2.487(ms)
disql V8
2025-09-05 04:13:58 INFO: Start watcher service...
2025-09-05 04:13:58 INFO: Start watcher service success!
2025-09-05 04:13:58 INFO: Start dmagent server...
2025-09-05 04:13:58 INFO: Start dmagent success!
2025-09-05 04:13:58 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:03 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:08 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:13 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:18 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:23 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:28 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:33 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:38 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:43 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:48 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:53 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:14:58 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:03 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:08 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:13 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:18 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:23 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:29 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:34 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:39 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:44 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:49 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:54 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:15:59 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:04 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:09 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:14 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:19 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:24 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:29 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:34 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:39 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:44 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:49 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:54 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:16:59 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:04 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:09 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:14 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:19 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:24 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:29 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:34 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:40 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:45 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:50 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:17:55 INFO: wait instance status to OPEN, current: MOUNT
2025-09-05 04:18:00 INFO: wait instance status to OPEN, current: MOUNT
➜ ~ kubectl logs damengdb-tkvwwf-backup-dmdb-1
Defaulted container "dmdb" out of: dmdb, exporter, kbagent, config-manager, init-kbagent (init), kbagent-worker (init), install-config-manager-tool (init)
* Starting OpenBSD Secure Shell server sshd
...done.
2025-09-05 04:13:38 INFO: link /usr/lib/x86_64-linux-gnu/libpcre.so.3 to /opt/dmdbms/bin/libpcre.so.1
2025-09-05 04:13:38 INFO: Start Cron Server.
2025-09-05 04:13:38 INFO: Start to init DM DB
2025-09-05 04:13:38 INFO: ./dminit PATH=/opt/dmdbms/data INSTANCE_NAME=DMDB_1 PAGE_SIZE=8 CASE_SENSITIVE=0 UNICODE_FLAG=1 EXTENT_SIZE=16 TIME_ZONE=+08:00 BLANK_PAD_MODE=0 LOG_SIZE=2048 BUFFER=1000 PORT_NUM=5236 ELOG_PATH=/opt/dmdbms/log LENGTH_IN_CHAR=1
file dm.key not found, use default license!
License will expire in 14 day(s) on 2025-09-19
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
log file path: /opt/dmdbms/data/DAMENG/DAMENG01.log
log file path: /opt/dmdbms/data/DAMENG/DAMENG02.log
write to dir [/opt/dmdbms/data/DAMENG].
create dm database success. 2025-09-05 04:13:41
initdb V8
db version: 0x7000c
2025-09-05 04:13:41 INFO: Init DM success!
2025-09-05 04:13:41 INFO: configure dm.ini
2025-09-05 04:13:41 INFO: configure dmarch.ini
2025-09-05 04:13:41 INFO: configure dmmal.ini
2025-09-05 04:13:41 INFO: configure dmwatcher.ini
2025-09-05 04:13:41 INFO: configure dmtimer.ini
2025-09-05 04:13:41 INFO: timer internal: 1
2025-09-05 04:13:41 INFO: Start DmAPService...
2025-09-05 04:13:41 INFO: Start DmAPService success!
2025-09-05 04:13:41 INFO: Start DMSERVER without mount
2025-09-05 04:13:41 INFO: Start DMSERVER success!
2025-09-05 04:13:41 INFO: Dmserver is running.
2025-09-05 04:13:42 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:47 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:52 INFO: DM Database is not OK, please wait...
2025-09-05 04:13:57 INFO: DM Database is not OK, please wait...
2025-09-05 04:14:02 INFO: DM Database is not OK, please wait...
2025-09-05 04:14:07 INFO: DM Database is not OK, please wait...
2025-09-05 04:14:12 INFO: DM Database is OK
2025-09-05 04:14:12 INFO: Stop DMSERVER to do init backup data...
2025-09-05 04:14:12 INFO: Stop dmserver
2025-09-05 04:14:12 INFO: Wait to stop dmserver...
2025-09-05 04:14:15 INFO: Wait to stop dmserver...
2025-09-05 04:14:18 INFO: Wait to stop dmserver...
2025-09-05 04:14:21 INFO: Stop dmserver success!
2025-09-05 04:14:21 INFO: Stop DMSERVER success, start to backup data...
2025-09-05 04:14:21 INFO: restore the instance from backup
file dm.key not found, use default license!
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
dmrman V8
RESTORE DATABASE '/opt/dmdbms/data/DAMENG/dm.ini' FROM BACKUPSET '/opt/dmdbms/arch/backup/INIT_FULL_BACKUP'
[Percent:100.00%][Speed:0.00M/s][Cost:00:00:03][Remaining:00:00:00]
restore successfully.
time used: 00:00:03.588
file dm.key not found, use default license!
Database mode = 2, oguid = 1
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
EP[0]'s cur_lsn[41026], file_lsn[41026]
dmrman V8
RECOVER DATABASE '/opt/dmdbms/data/DAMENG/dm.ini' FROM BACKUPSET '/opt/dmdbms/arch/backup/INIT_FULL_BACKUP'
[Percent:100.00%][Speed:0.00PKG/s][Cost:00:00:00][Remaining:00:00:00]
recover successfully!
time used: 00:00:02.555
file dm.key not found, use default license!
Database mode = 2, oguid = 1
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
EP[0]'s cur_lsn[41508], file_lsn[41508]
dmrman V8
RECOVER DATABASE '/opt/dmdbms/data/DAMENG/dm.ini' UPDATE DB_MAGIC;
recover successfully!
time used: 00:00:01.093
2025-09-05 04:14:28 INFO: Start DMSERVER with mount
2025-09-05 04:14:28 INFO: Start DMSERVER success!
2025-09-05 04:14:28 INFO: DM Database is not OK, please wait...
2025-09-05 04:14:33 INFO: DM Database is OK
2025-09-05 04:14:33 INFO: Set mode standby
Server[localhost:5236]:mode is primary, state is mount
login used time : 2.487(ms)
disql V8
SQL> DMSQL executed successfully
used time: 12.758(ms). Execute id is 100.
SQL> executed successfully
used time: 33.361(ms). Execute id is 0.
SQL> DMSQL executed successfully
used time: 10.256(ms). Execute id is 101.
SQL> 2025-09-05 04:14:33 INFO: Set OGUID 1
Server[localhost:5236]:mode is standby, state is mount
login used time : 2.946(ms)
disql V8
2025-09-05 04:14:33 INFO: Start watcher service...
2025-09-05 04:14:33 INFO: Start watcher service success!
2025-09-05 04:14:33 INFO: Start dmagent server...
2025-09-05 04:14:33 INFO: Start dmagent success!
Finished soft link DM current dm_DMDB_1_202509.log to dm_DMSERVER.log
2025-09-05 04:14:33.767 [INFO] database P0000000863 T0000000000000000949 backup control file /opt/dmdbms/data/DAMENG/dm.ctl to file /opt/dmdbms/arch/backup-ctl/dm_20250905041433_758850.ctl succeed
2025-09-05 04:14:33.769 [INFO] database P0000000863 T0000000000000000949 backup control file /opt/dmdbms/data/DAMENG/dm.ctl to file /opt/dmdbms/data/DAMENG/dm_20250905041433_769611.ctl
2025-09-05 04:14:33.780 [INFO] database P0000000863 T0000000000000000949 backup control file /opt/dmdbms/data/DAMENG/dm.ctl to file /opt/dmdbms/arch/backup-ctl/dm_20250905041433_772390.ctl succeed
2025-09-05 04:14:33.780 [INFO] database P0000000863 T0000000000000000949 alter sys mode to STANDBY end, code: 0
2025-09-05 04:14:33.790 [INFO] database P0000000863 T0000000000000000949 ifun_set_para_value_inner, standby database ini_version reset to 0!
2025-09-05 04:14:33.838 [INFO] database P0000000863 T0000000000000000956 ifun_set_para_value_inner, standby database ini_version reset to 0!
2025-09-05 04:14:33.838 [INFO] database P0000000863 T0000000000000000956 backup control file /opt/dmdbms/data/DAMENG/dm.ctl to file /opt/dmdbms/data/DAMENG/dm_20250905041433_838853.ctl
2025-09-05 04:14:33.852 [INFO] database P0000000863 T0000000000000000956 backup control file /opt/dmdbms/data/DAMENG/dm.ctl to file /opt/dmdbms/arch/backup-ctl/dm_20250905041433_841449.ctl succeed
2025-09-05 04:14:33.863 [INFO] database P0000000863 T0000000000000000956 ifun_set_para_value_inner, standby database ini_version reset to 0!
2025-09-05 04:14:33.878 [INFO] database P0000000863 T0000000000000000956 socket_err_should_retry errno:104
2025-09-05 04:14:34.904 [INFO] database P0000000863 T0000000000000000907 Receive dmwatcher(DMDB_1) connect request, reset g_dw_status!
2025-09-05 04:14:34.904 [INFO] database P0000000863 T0000000000000000907 set g_dw_stat from NONE to NONE success, g_dw_recover_stop is 0
2025-09-05 04:14:34.904 [INFO] database P0000000863 T0000000000000000907 Receive dmwatcher(seqno:0, name:DMDB_1) tcp conn request, build connection success(handle:22)
2025-09-05 04:14:34.906 [INFO] database P0000000863 T0000000000000000908 utsk_get_dw_svr_info, hpc_seqno=0, hpc_master=0, n_ok_ep change from 0 to 1, ok_ep_arr:[0], crash_over:1!
2025-09-05 04:17:31.036 [INFO] database P0000000863 T0000000000000000932 checkpoint requested by CKPT_INTERVAL, rlog free space[4294959104], used space[0]
2025-09-05 04:17:31.036 [INFO] database P0000000863 T0000000000000000932 checkpoint generate by ckpt_interval
2025-09-05 04:17:31.036 [INFO] database P0000000863 T0000000000000000901 checkpoint begin, used_space[0], free_space[4294959104]...
2025-09-05 04:17:31.042 [INFO] database P0000000863 T0000000000000000901 ckpt2_log_adjust: full_status: 160, ptx_reserved: 0
2025-09-05 04:17:31.042 [INFO] database P0000000863 T0000000000000000901 ckpt2_log_adjust: ckpt_lsn(41508), ckpt_fil(0), ckpt_off(4096), cur_lsn(41508), l_next_seq(4837), g_next_seq(4837), cur_free(4096), total_space(4294959104), used_space(0), free_space(4294959104), n_ep(1)
2025-09-05 04:17:31.042 [INFO] database P0000000863 T0000000000000000901 checkpoint end, 0 pages flushed, used_space[0], free_space[4294959104].
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
This issue has been marked as stale because it has been open for 30 days with no activity