-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The error log of the secondary node of the 3 replica mysql cluster is displayed as follows: [Repl] [GTID INFO] The transaction owned GTID gno start 1, end #8858
Comments
I deleted /data/mysql/data/.meta_initialized file in the 3 pods and restarted the database |
hi @wallyxjh
|
@demian0110 PTAL |
1.kb version 0.8.2 and ac-mysql-8.0.30 report-cluster-liebianbao-nklgunml-mysql-2025-01-23-08-17-11.zip |
This error has no significant impact. You can execute |
Before the database status was abnormal, I changed the database parameters, but opsrequest was always pending, I deleted opsrequest, and then the database status could be updated as follows: kbcli cluster configure ${name} --set=log_error=/data/mysql/log/mysqld-error.log,slow_query_log=1,slow_query_log_file=/data/mysql/log/slow-query.log,lon g_query_time=1 -n ns-xxx |
apiVersion: apps.kubeblocks.io/v1alpha1
kind: Configuration
metadata:
creationTimestamp: "2024-08-15T16:09:36Z"
generation: 2
name: liebianbao-nklgunml-mysql-mysql
namespace: ns-vh09xixu
ownerReferences:
- apiVersion: apps.kubeblocks.io/v1alpha1
blockOwnerDeletion: true
controller: true
kind: Cluster
name: liebianbao-nklgunml-mysql
uid: c86909ee-a45b-47d4-b92d-38acd516c63b
resourceVersion: "1458050476"
uid: c498ea57-4b5b-403e-9cd5-d57cc84fdff9
spec:
clusterRef: liebianbao-nklgunml-mysql
componentName: mysql
configItemDetails:
- configFileParams:
my.cnf:
parameters:
log_error: /data/mysql/log/mysqld-error.log
long_query_time: "1"
slow_query_log: "1"
slow_query_log_file: /data/mysql/log/slow-query.log
configSpec:
constraintRef: mysql8.0-config-constraints
name: mysql-consensusset-config
namespace: kb-system
templateRef: mysql8.0-config-template
volumeName: mysql-config
name: mysql-consensusset-config
- configSpec:
defaultMode: 292
name: agamotto-configuration
namespace: kb-system
templateRef: apecloud-mysql8-agamotto-configuration
volumeName: agamotto-configuration
name: agamotto-configuration
- configSpec:
constraintRef: mysql-scale-vttablet-config-constraints
name: vttablet-config
namespace: kb-system
templateRef: vttablet-config-template
volumeName: mysql-scale-config
name: vttablet-config
status:
configurationStatus:
- lastDoneRevision: "1"
name: mysql-consensusset-config
phase: Upgrading
reconcileDetail:
currentRevision: "2"
execResult: Retry
expectedCount: 3
policy: simple
succeedCount: -1
updateRevision: "2"
- lastDoneRevision: "1"
name: agamotto-configuration
phase: Finished
reconcileDetail:
currentRevision: "1"
errMessage: the configuration file has not been modified, skip reconfigure
execResult: ""
expectedCount: -1
policy: ""
succeedCount: -1
updateRevision: "1"
- lastDoneRevision: "1"
name: vttablet-config
phase: Finished
reconcileDetail:
currentRevision: "1"
errMessage: the configuration file has not been modified, skip reconfigure
execResult: ""
expectedCount: -1
policy: ""
succeedCount: -1
updateRevision: "1" |
|
|
@sophon-zt PTAL |
error-slave.log
The text was updated successfully, but these errors were encountered: