GreatSQL社区

搜索

[已解决] 单机多实例加入第二台时第一个直接蹦了( GreatSQL-8.0.32-24)

811 1 2023-10-23 17:19
本帖最后由 周智林 于 2023-10-23 17:19 编辑

先贴配置
第一个的my3306.cnf 配置
  1. #mgr settings
  2. loose-plugin_load_add = 'mysql_clone.so'
  3. loose-plugin_load_add = 'group_replication.so'
  4. loose-group_replication_group_name = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa1"
  5. #MGR本地节点IP:PORT,请自行替换
  6. loose-group_replication_local_address = "192.168.188.60:33061"
  7. #MGR集群所有节点IP:PORT,请自行替换
  8. loose-group_replication_group_seeds = "192.168.188.60:33061,192.168.188.60:33071,192.168.188.60:33081,192.168.188.60:33091"
  9. loose-group_replication_start_on_boot = OFF
  10. loose-group_replication_bootstrap_group = OFF
  11. loose-group_replication_exit_state_action = READ_ONLY
  12. loose-group_replication_flow_control_mode = "DISABLED"
  13. loose-group_replication_single_primary_mode = ON
  14. loose-group_replication_majority_after_mode = ON
  15. loose-group_replication_communication_max_message_size = 10M
  16. loose-group_replication_arbitrator = 0
  17. loose-group_replication_single_primary_fast_mode = 1
  18. loose-group_replication_request_time_threshold = 100
  19. loose-group_replication_primary_election_mode = GTID_FIRST
  20. loose-group_replication_unreachable_majority_timeout = 30
  21. loose-group_replication_member_expel_timeout = 5
  22. loose-group_replication_autorejoin_tries = 288
  23. #report_host = "192.168.188.60"
复制代码
第二个3307.cnf的配置
  1. #mgr settings
  2. loose-plugin_load_add = 'mysql_clone.so'
  3. loose-plugin_load_add = 'group_replication.so'
  4. loose-group_replication_group_name = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa1"
  5. #MGR本地节点IP:PORT,请自行替换
  6. loose-group_replication_local_address = "192.168.188.60:33071"
  7. #MGR集群所有节点IP:PORT,请自行替换
  8. loose-group_replication_group_seeds = "192.168.188.60:33061,192.168.188.60:33071,192.168.188.60:33081,192.168.188.60:33091"
  9. loose-group_replication_start_on_boot = OFF
  10. loose-group_replication_bootstrap_group = OFF
  11. loose-group_replication_exit_state_action = READ_ONLY
  12. loose-group_replication_flow_control_mode = "DISABLED"
  13. loose-group_replication_single_primary_mode = ON
  14. loose-group_replication_majority_after_mode = ON
  15. loose-group_replication_communication_max_message_size = 10M
  16. loose-group_replication_arbitrator = 0
  17. loose-group_replication_single_primary_fast_mode = 1
  18. loose-group_replication_request_time_threshold = 100
  19. loose-group_replication_primary_election_mode = GTID_FIRST
  20. loose-group_replication_unreachable_majority_timeout = 30
  21. loose-group_replication_member_expel_timeout = 5
  22. loose-group_replication_autorejoin_tries = 288
  23. #report_host = "192.168.188.60"
复制代码




3306的日志
  1. [root@localhost 3306]# more error.log

  2. 2023-10-23T17:10:15.346694+08:00 0 [Warning] [MY-010140] [Server] Could not increase number of max_open_files to more than 10000 (request: 65535)
  3. 2023-10-23T17:10:15.544255+08:00 0 [Warning] [MY-011068] [Server] The syntax 'log_slow_slave_statements' is deprecated and will be removed in a future release. Plea
  4. se use log_slow_replica_statements instead.
  5. 2023-10-23T17:10:15.544302+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_parallel_type' is deprecated and will be removed in a future release. Please use
  6. replica_parallel_type instead.
  7. 2023-10-23T17:10:15.544307+08:00 0 [Warning] [MY-011069] [Server] The syntax '--replica-parallel-type' is deprecated and will be removed in a future release.
  8. 2023-10-23T17:10:15.544315+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_parallel_workers' is deprecated and will be removed in a future release. Please
  9. use replica_parallel_workers instead.
  10. 2023-10-23T17:10:15.544325+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_preserve_commit_order' is deprecated and will be removed in a future release. Pl
  11. ease use replica_preserve_commit_order instead.
  12. 2023-10-23T17:10:15.544335+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_checkpoint_period' is deprecated and will be removed in a future release. Please
  13. use replica_checkpoint_period instead.
  14. 2023-10-23T17:10:15.544471+08:00 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-file-priv: Current value does not restrict location of generat
  15. ed files. Consider setting it to a valid, non-empty path.
  16. 2023-10-23T17:10:15.544476+08:00 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-log-path: Current value does not restrict location of generate
  17. d files. Consider setting it to a valid, non-empty path.
  18. 2023-10-23T17:10:15.544530+08:00 0 [Note] [MY-013932] [Server] BuildID[sha1]=5850d8e16b7845a955d11d6965d9d658fd24b257
  19. 2023-10-23T17:10:15.544535+08:00 0 [Note] [MY-010949] [Server] Basedir set to /usr/local/GreatSQL-8.0.32-24-Linux-glibc2.17-x86_64/.
  20. 2023-10-23T17:10:15.544542+08:00 0 [System] [MY-010116] [Server] /usr/local/GreatSQL-8.0.32-24-Linux-glibc2.17-x86_64/bin/mysqld (mysqld 8.0.32-24) starting as proc
  21. ess 30223
  22. 2023-10-23T17:10:15.556405+08:00 0 [Warning] [MY-012364] [InnoDB] innodb_open_files should not be greater than the open_files_limit.
  23. 2023-10-23T17:10:15.556445+08:00 0 [Note] [MY-012366] [InnoDB] Using Linux native AIO
  24. 2023-10-23T17:10:15.556469+08:00 0 [Warning] [MY-013869] [InnoDB] Ignored deprecated configuration parameter innodb_log_file_size. Used innodb_redo_log_capacity ins
  25. tead.
  26. 2023-10-23T17:10:15.556480+08:00 0 [Warning] [MY-013870] [InnoDB] Ignored deprecated configuration parameter innodb_log_files_in_group. Used innodb_redo_log_capacit
  27. y instead.
  28. 2023-10-23T17:10:15.556793+08:00 0 [Note] [MY-010747] [Server] Plugin 'FEDERATED' is disabled.
  29. 2023-10-23T17:10:15.556883+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndbcluster' is disabled.
  30. 2023-10-23T17:10:15.556905+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndbinfo' is disabled.
  31. 2023-10-23T17:10:15.556917+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndb_transid_mysql_connection_map' is disabled.
  32. 2023-10-23T17:10:15.561467+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
  33. 2023-10-23T17:10:15.561503+08:00 1 [Note] [MY-013546] [InnoDB] Atomic write enabled
  34. 2023-10-23T17:10:15.561533+08:00 1 [Note] [MY-012932] [InnoDB] PUNCH HOLE support available
  35. 2023-10-23T17:10:15.561548+08:00 1 [Note] [MY-012944] [InnoDB] Uses event mutexes
  36. 2023-10-23T17:10:15.561555+08:00 1 [Note] [MY-012945] [InnoDB] GCC builtin __atomic_thread_fence() is used for memory barrier
  37. 2023-10-23T17:10:15.561564+08:00 1 [Note] [MY-012948] [InnoDB] Compressed tables use zlib 1.2.13
  38. 2023-10-23T17:10:15.564106+08:00 1 [Note] [MY-012951] [InnoDB] Using hardware accelerated crc32 and polynomial multiplication.
  39. 2023-10-23T17:10:15.564505+08:00 1 [Note] [MY-012203] [InnoDB] Directories to scan './'
  40. 2023-10-23T17:10:15.564557+08:00 1 [Note] [MY-012204] [InnoDB] Scanning './'
  41. 2023-10-23T17:10:15.571617+08:00 1 [Note] [MY-012208] [InnoDB] Completed space ID check of 5 files.
  42. 2023-10-23T17:10:15.572741+08:00 1 [Note] [MY-012955] [InnoDB] Initializing buffer pool, total size = 2.000000G, instances = 8, chunk size =128.000000M
  43. 2023-10-23T17:10:15.572762+08:00 1 [Note] [MY-011872] [InnoDB] Setting NUMA memory policy to MPOL_INTERLEAVE
  44. 2023-10-23T17:10:20.767248+08:00 1 [Note] [MY-011874] [InnoDB] Setting NUMA memory policy to MPOL_DEFAULT
  45. 2023-10-23T17:10:20.822804+08:00 1 [Note] [MY-012957] [InnoDB] Completed initialization of buffer pool
  46. 2023-10-23T17:10:22.352134+08:00 0 [Note] [MY-011952] [InnoDB] If the mysqld execution user is authorized, page cleaner and LRU manager thread priority can be chang
  47. ed. See the man page of setpriority().
  48. 2023-10-23T17:10:23.116978+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_0.dblwr' for doublewrite
  49. 2023-10-23T17:10:23.183223+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_1.dblwr' for doublewrite
  50. 2023-10-23T17:10:23.191288+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_2.dblwr' for doublewrite
  51. 2023-10-23T17:10:23.202994+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_3.dblwr' for doublewrite
  52. 2023-10-23T17:10:23.220992+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_4.dblwr' for doublewrite
  53. 2023-10-23T17:10:23.221441+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_5.dblwr' for doublewrite
  54. 2023-10-23T17:10:23.225543+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_6.dblwr' for doublewrite
  55. 2023-10-23T17:10:23.236496+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_7.dblwr' for doublewrite
  56. 2023-10-23T17:10:23.239336+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_8.dblwr' for doublewrite
  57. 2023-10-23T17:10:23.239745+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_9.dblwr' for doublewrite
  58. 2023-10-23T17:10:23.241927+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_10.dblwr' for doublewrite
  59. 2023-10-23T17:10:23.243484+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_11.dblwr' for doublewrite
  60. 2023-10-23T17:10:23.245607+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_12.dblwr' for doublewrite
  61. 2023-10-23T17:10:23.318329+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_13.dblwr' for doublewrite
  62. 2023-10-23T17:10:23.449407+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_14.dblwr' for doublewrite
  63. 2023-10-23T17:10:23.451398+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_15.dblwr' for doublewrite
  64. 2023-10-23T17:10:23.457437+08:00 1 [Note] [MY-013566] [InnoDB] Double write buffer files: 16
  65. 2023-10-23T17:10:23.457475+08:00 1 [Note] [MY-013565] [InnoDB] Double write buffer pages per instance: 4
  66. 2023-10-23T17:10:23.457505+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_0.dblwr' for doublewrite
  67. 2023-10-23T17:10:23.457530+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_1.dblwr' for doublewrite
  68. 2023-10-23T17:10:23.457547+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_2.dblwr' for doublewrite
  69. 2023-10-23T17:10:23.457564+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_3.dblwr' for doublewrite
  70. 2023-10-23T17:10:23.457581+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_4.dblwr' for doublewrite
  71. 2023-10-23T17:10:23.457596+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_5.dblwr' for doublewrite
  72. 2023-10-23T17:10:23.457612+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_6.dblwr' for doublewrite
  73. 2023-10-23T17:10:23.457628+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_7.dblwr' for doublewrite
  74. 2023-10-23T17:10:23.457645+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_8.dblwr' for doublewrite
  75. 2023-10-23T17:10:23.457661+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_9.dblwr' for doublewrite
  76. 2023-10-23T17:10:23.457677+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_10.dblwr' for doublewrite
  77. 2023-10-23T17:10:23.457693+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_11.dblwr' for doublewrite
  78. 2023-10-23T17:10:23.457710+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_12.dblwr' for doublewrite
  79. 2023-10-23T17:10:23.457726+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_13.dblwr' for doublewrite
  80. 2023-10-23T17:10:23.457749+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_14.dblwr' for doublewrite
  81. 2023-10-23T17:10:23.457765+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_15.dblwr' for doublewrite
  82. 2023-10-23T17:10:23.696425+08:00 1 [Note] [MY-013883] [InnoDB] The latest found checkpoint is at lsn = 20958876 in redo log file ./#innodb_redo/#ib_redo0.
  83. 2023-10-23T17:10:23.700597+08:00 1 [Note] [MY-012560] [InnoDB] The log sequence number 20055393 in the system tablespace does not match the log sequence number 2095
  84. 8876 in the redo log files!
  85. 2023-10-23T17:10:23.700630+08:00 1 [Note] [MY-012551] [InnoDB] Database was not shutdown normally!
  86. 2023-10-23T17:10:23.700638+08:00 1 [Note] [MY-012552] [InnoDB] Starting crash recovery.
  87. 2023-10-23T17:10:23.759786+08:00 1 [Note] [MY-013086] [InnoDB] Starting to parse redo log at lsn = 20958770, whereas checkpoint_lsn = 20958876 and start_lsn = 20958
  88. 720
  89. 2023-10-23T17:10:23.759873+08:00 1 [Note] [MY-012550] [InnoDB] Doing recovery: scanned up to log sequence number 20958876
  90. 2023-10-23T17:10:23.766719+08:00 1 [Note] [MY-013083] [InnoDB] Log background threads are being started...
  91. 2023-10-23T17:10:23.901795+08:00 1 [Note] [MY-012532] [InnoDB] Applying a batch of 0 redo log records ...
  92. 2023-10-23T17:10:23.901832+08:00 1 [Note] [MY-012535] [InnoDB] Apply batch completed!
  93. 2023-10-23T17:10:23.902343+08:00 1 [Note] [MY-013252] [InnoDB] Using undo tablespace './undo_001'.
  94. 2023-10-23T17:10:23.902901+08:00 1 [Note] [MY-013252] [InnoDB] Using undo tablespace './undo_002'.
  95. 2023-10-23T17:10:23.904097+08:00 1 [Note] [MY-012910] [InnoDB] Opened 2 existing undo tablespaces.
  96. 2023-10-23T17:10:23.904184+08:00 1 [Note] [MY-011980] [InnoDB] GTID recovery trx_no: 8818
  97. 2023-10-23T17:10:23.967782+08:00 1 [Note] [MY-013776] [InnoDB] Parallel initialization of rseg complete
  98. 2023-10-23T17:10:23.967848+08:00 1 [Note] [MY-013777] [InnoDB] Time taken to initialize rseg using 2 thread: 63669 ms.
  99. 2023-10-23T17:10:23.968278+08:00 1 [Note] [MY-012255] [InnoDB] Removed temporary tablespace data file: "ibtmp1"
  100. 2023-10-23T17:10:23.968299+08:00 1 [Note] [MY-012923] [InnoDB] Creating shared tablespace for temporary tables
  101. 2023-10-23T17:10:23.968332+08:00 1 [Note] [MY-012265] [InnoDB] Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
  102. 2023-10-23T17:10:23.977301+08:00 1 [Note] [MY-012266] [InnoDB] File './ibtmp1' size is now 12 MB.
  103. 2023-10-23T17:10:23.977414+08:00 1 [Note] [MY-013627] [InnoDB] Scanning temp tablespace dir:'./#innodb_temp/'
  104. 2023-10-23T17:10:23.985654+08:00 1 [Note] [MY-013018] [InnoDB] Created 128 and tracked 128 new rollback segment(s) in the temporary tablespace. 128 are now active.
  105. 2023-10-23T17:10:23.992697+08:00 1 [Note] [MY-012976] [InnoDB] Percona XtraDB (http://www.percona.com) 8.0.32-8.0.32 started; log sequence number 20958886
  106. 2023-10-23T17:10:23.993756+08:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
  107. 2023-10-23T17:10:24.001916+08:00 1 [Note] [MY-011089] [Server] Data dictionary restarting version '80023'.
  108. 2023-10-23T17:10:24.095437+08:00 1 [Note] [MY-012357] [InnoDB] Reading DD tablespace files
  109. 2023-10-23T17:10:24.096886+08:00 1 [Note] [MY-012356] [InnoDB] Scanned 7 tablespaces. Validated 7.
  110. 2023-10-23T17:10:24.110091+08:00 1 [Note] [MY-010006] [Server] Using data dictionary with version '80023'.
  111. 2023-10-23T17:10:24.142006+08:00 0 [Note] [MY-011332] [Server] Plugin mysqlx reported: 'IPv6 is available'
  112. 2023-10-23T17:10:24.142105+08:00 0 [Note] [MY-011324] [Server] Plugin mysqlx reported: 'Retrying `bind()` on TCP/IP port 33060'
  113. 2023-10-23T17:10:25.144557+08:00 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible'
  114. 2023-10-23T17:10:25.144664+08:00 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of bind-address: '*' port: 33060 failed, `bind()` failed with error:
  115. Address already in use (98). Do you already have another mysqld server running with Mysqlx ?'
  116. 2023-10-23T17:10:25.144675+08:00 0 [ERROR] [MY-013597] [Server] Plugin mysqlx reported: 'Value '*' set to `Mysqlx_bind_address`, X Plugin can't bind to it. Skipping
  117. this value.'
  118. 2023-10-23T17:10:25.144703+08:00 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/tmp/mysqlx.sock' failed, another process with PID 28816
  119. is using UNIX socket file'
  120. 2023-10-23T17:10:25.144710+08:00 0 [Note] [MY-011322] [Server] Plugin mysqlx reported: 'Please see the MySQL documentation for 'mysqlx_port,mysqlx_bind_address' sys
  121. tem variables to fix the error'
  122. 2023-10-23T17:10:25.144720+08:00 0 [Note] [MY-011322] [Server] Plugin mysqlx reported: 'Please see the MySQL documentation for 'mysqlx_socket' system variables to f
  123. ix the error'
  124. 2023-10-23T17:10:25.219420+08:00 0 [Note] [MY-010902] [Server] Thread priority attribute setting in Resource Group SQL shall be ignored due to unsupported platform
  125. or insufficient privilege.
  126. 2023-10-23T17:10:25.223839+08:00 0 [Note] [MY-010855] [Server] Recovering after a crash using binlog
  127. 2023-10-23T17:10:25.224071+08:00 0 [System] [MY-010229] [Server] Starting XA crash recovery...
  128. 2023-10-23T17:10:25.237938+08:00 0 [Note] [MY-013911] [Server] Crash recovery finished in binlog engine. No attempts to commit, rollback or prepare any transactions
  129. .
  130. 2023-10-23T17:10:25.238085+08:00 0 [Note] [MY-013911] [Server] Crash recovery finished in InnoDB engine. No attempts to commit, rollback or prepare any transactions
  131. .
  132. 2023-10-23T17:10:25.238113+08:00 0 [System] [MY-010232] [Server] XA crash recovery finished.
  133. 2023-10-23T17:10:25.248950+08:00 0 [Note] [MY-012487] [InnoDB] DDL log recovery : begin
  134. 2023-10-23T17:10:25.249473+08:00 0 [Note] [MY-012488] [InnoDB] DDL log recovery : end
  135. 2023-10-23T17:10:25.260595+08:00 0 [Note] [MY-011946] [InnoDB] Loading buffer pool(s) from /data/GreatSQL/3306/ib_buffer_pool
  136. 2023-10-23T17:10:25.357836+08:00 0 [Note] [MY-010182] [Server] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support usin
  137. g them.
  138. 2023-10-23T17:10:25.357950+08:00 0 [Note] [MY-010304] [Server] Skipping generation of SSL certificates as certificate files are present in data directory.
  139. 2023-10-23T17:10:25.362222+08:00 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
  140. 2023-10-23T17:10:25.362364+08:00 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this chan
  141. nel.
  142. 2023-10-23T17:10:25.362512+08:00 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --sha256_password_auto_generate_rsa_keys as key files are
  143. present in data directory.
  144. 2023-10-23T17:10:25.362549+08:00 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --caching_sha2_password_auto_generate_rsa_keys as key fil
  145. es are present in data directory.
  146. 2023-10-23T17:10:25.363960+08:00 0 [Note] [MY-010252] [Server] Server hostname (bind-address): '*'; port: 3306
  147. 2023-10-23T17:10:25.364028+08:00 0 [Note] [MY-010253] [Server] IPv6 is available.
  148. 2023-10-23T17:10:25.364053+08:00 0 [Note] [MY-010264] [Server]   - '::' resolves to '::';
  149. 2023-10-23T17:10:25.364064+08:00 0 [Note] [MY-010251] [Server] Server socket created on IP: '::'.
  150. 2023-10-23T17:10:25.426397+08:00 0 [Warning] [MY-010604] [Repl] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server
  151. acts as a slave and has his hostname changed!! Please use '--relay-log=localhost-relay-bin' to avoid this problem.
  152. 2023-10-23T17:10:25.430412+08:00 0 [Warning] [MY-013836] [Repl] Relay log recovery on channel with GTID_ONLY=1. The channel will switch to a new relay log and the G
  153. TID protocol will be used to replicate unapplied transactions.
  154. 2023-10-23T17:10:25.438915+08:00 0 [Warning] [MY-013836] [Repl] Relay log recovery on channel with GTID_ONLY=1. The channel will switch to a new relay log and the G
  155. TID protocol will be used to replicate unapplied transactions.
  156. 2023-10-23T17:10:25.440935+08:00 0 [Note] [MY-011025] [Repl] Failed to start slave threads for channel ''.
  157. 2023-10-23T17:10:25.445123+08:00 0 [System] [MY-010931] [Server] /usr/local/GreatSQL-8.0.32-24-Linux-glibc2.17-x86_64/bin/mysqld: ready for connections. Version: '8
  158. .0.32-24'  socket: '/data/GreatSQL/3306/mysql.sock'  port: 3306  GreatSQL, Release 24, Revision 3714067bc8c.
  159. 2023-10-23T17:10:25.445422+08:00 0 [Note] [MY-011240] [Server] Plugin mysqlx reported: 'Using SSL configuration from MySQL Server'
  160. 2023-10-23T17:10:25.445786+08:00 0 [Note] [MY-011243] [Server] Plugin mysqlx reported: 'Using OpenSSL for TLS connections'
  161. 2023-10-23T17:10:25.449703+08:00 7 [Note] [MY-010051] [Server] Event Scheduler: scheduler thread started with id 7
  162. 2023-10-23T17:10:25.497606+08:00 0 [Note] [MY-011946] [InnoDB] Buffer pool(s) load completed at 231023 17:10:25
复制代码
3307的日志
  1. [root@localhost 3306]# more /data/GreatSQL/3307/error.log

  2. 2023-10-23T17:10:13.833136+08:00 17 [System] [MY-013587] [Repl] Plugin group_replication reported: 'Plugin 'group_replication' is starting.'
  3. 2023-10-23T17:10:13.833632+08:00 17 [Note] [MY-011716] [Repl] Plugin group_replication reported: 'Current debug options are: 'GCS_DEBUG_NONE'.'
  4. 2023-10-23T17:10:13.839342+08:00 17 [System] [MY-011565] [Repl] Plugin group_replication reported: 'Setting super_read_only=ON.'
  5. 2023-10-23T17:10:13.847596+08:00 17 [Note] [MY-011673] [Repl] Plugin group_replication reported: 'Group communication SSL configuration: group_replication_ssl_mode:
  6. "DISABLED"'
  7. 2023-10-23T17:10:13.848869+08:00 17 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Debug messages will be sent to: asynchronous::/data/GreatSQL
  8. /3307/GCS_DEBUG_TRACE'
  9. 2023-10-23T17:10:13.853125+08:00 17 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Added automatically IP ranges 127.0.0.1/8,192.168.188.60/24,
  10. ::1/128,fe80::5c30:c5fd:1c8d:a5e3/64 to the allowlist'
  11. 2023-10-23T17:10:13.854896+08:00 17 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] SSL was not enabled'
  12. 2023-10-23T17:10:13.854984+08:00 17 [Note] [MY-011694] [Repl] Plugin group_replication reported: 'Initialized group communication with configuration: group_replicat
  13. ion_group_name: 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa1'; group_replication_local_address: '192.168.188.60:33071'; group_replication_group_seeds: '192.168.188.60:3306
  14. 1,192.168.188.60:33071,192.168.188.60:33081,192.168.188.60:33091'; group_replication_bootstrap_group: 'false'; group_replication_poll_spin_loops: 0; group_replicati
  15. on_compression_threshold: 1000000; group_replication_ip_allowlist: 'AUTOMATIC'; group_replication_communication_debug_options: 'GCS_DEBUG_NONE'; group_replication_m
  16. ember_expel_timeout: '5'; group_replication_communication_max_message_size: 10485760; group_replication_message_cache_size: '1073741824u; group_replication_communic
  17. ation_stack: '0''
  18. 2023-10-23T17:10:13.855496+08:00 17 [Note] [MY-011643] [Repl] Plugin group_replication reported: 'Member configuration: member_id: 3307; member_uuid: "514668fd-7173
  19. -11ee-b9b4-000c29e3b420"; single-primary mode: "true"; group_replication_auto_increment_increment: 7; group_replication_view_change_uuid: "AUTOMATIC";'
  20. 2023-10-23T17:10:13.855559+08:00 17 [Note] [MY-011071] [Repl] Plugin group_replication reported: 'Init certifier broadcast thread'
  21. 2023-10-23T17:10:13.861469+08:00 19 [Note] [MY-011531] [Repl] Plugin group_replication reported: 'Detected previous RESET MASTER invocation or an issue exists in th
  22. e group replication applier relay log. Purging existing applier logs.'
  23. 2023-10-23T17:10:13.874092+08:00 19 [System] [MY-010597] [Repl] 'CHANGE MASTER TO FOR CHANNEL 'group_replication_applier' executed'. Previous state master_host='<NU
  24. LL>', master_port= 0, master_log_file='', master_log_pos= 4, master_bind=''. New state master_host='<NULL>', master_port= 0, master_log_file='', master_log_pos= 4,
  25. master_bind=''.
  26. 2023-10-23T17:10:14.046125+08:00 21 [Note] [MY-010581] [Repl] Slave SQL thread for channel 'group_replication_applier' initialized, starting replication in log 'FIR
  27. ST' at position 0, relay log './localhost-relay-bin-group_replication_applier.000001' position: 4
  28. 2023-10-23T17:10:14.046877+08:00 17 [Note] [MY-011670] [Repl] Plugin group_replication reported: 'Group Replication applier module successfully initialized!'
  29. 2023-10-23T17:10:14.050156+08:00 17 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] buckets:2000000, dec_threshold_length:1000000'
  30. 2023-10-23T17:10:14.051118+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] 1698052214.051087 pid 28817 xcom_id 0 state xcom_fsm_init act
  31. ion x_fsm_init'
  32. 2023-10-23T17:10:14.051154+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Init xcom thread'
  33. 2023-10-23T17:10:15.655314+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Using XCom as Communication Stack for XCom'
  34. 2023-10-23T17:10:15.656914+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] XCom initialized and ready to accept incoming connections on
  35. port 33071'
  36. 2023-10-23T17:10:15.657713+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Successfully connected to the local XCom via anonymous pipe'
  37. 2023-10-23T17:10:15.658697+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  38. 061 when joining a group. My local port is: 33071.'
  39. 2023-10-23T17:10:15.658878+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  40. 081 when joining a group. My local port is: 33071.'
  41. 2023-10-23T17:10:15.658981+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  42. 091 when joining a group. My local port is: 33071.'
  43. 2023-10-23T17:10:15.659079+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  44. 061 when joining a group. My local port is: 33071.'
  45. 2023-10-23T17:10:15.659179+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  46. 081 when joining a group. My local port is: 33071.'
  47. 2023-10-23T17:10:15.659269+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  48. 091 when joining a group. My local port is: 33071.'
  49. 2023-10-23T17:10:15.659325+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  50. 061 when joining a group. My local port is: 33071.'
  51. 2023-10-23T17:10:15.659345+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  52. 081 when joining a group. My local port is: 33071.'
  53. 2023-10-23T17:10:15.659361+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  54. 091 when joining a group. My local port is: 33071.'
  55. 2023-10-23T17:10:15.659375+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  56. 061 when joining a group. My local port is: 33071.'
  57. 2023-10-23T17:10:15.659391+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  58. 081 when joining a group. My local port is: 33071.'
  59. 2023-10-23T17:10:15.659406+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  60. 091 when joining a group. My local port is: 33071.'
  61. 2023-10-23T17:10:15.659426+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  62. 061 when joining a group. My local port is: 33071.'
  63. 2023-10-23T17:10:15.659442+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  64. 081 when joining a group. My local port is: 33071.'
  65. 2023-10-23T17:10:15.659541+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  66. 091 when joining a group. My local port is: 33071.'
  67. 2023-10-23T17:10:15.659632+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  68. 061 when joining a group. My local port is: 33071.'
  69. 2023-10-23T17:10:15.659693+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  70. 081 when joining a group. My local port is: 33071.'
  71. 2023-10-23T17:10:15.659743+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  72. 091 when joining a group. My local port is: 33071.'
  73. 2023-10-23T17:10:15.659839+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  74. 061 when joining a group. My local port is: 33071.'
  75. 2023-10-23T17:10:15.659918+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  76. 081 when joining a group. My local port is: 33071.'
  77. 2023-10-23T17:10:15.659985+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  78. 091 when joining a group. My local port is: 33071.'
  79. 2023-10-23T17:10:15.660053+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  80. 061 when joining a group. My local port is: 33071.'
  81. 2023-10-23T17:10:15.660131+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  82. 081 when joining a group. My local port is: 33071.'
  83. 2023-10-23T17:10:15.660190+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  84. 091 when joining a group. My local port is: 33071.'
  85. 2023-10-23T17:10:15.660266+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  86. 061 when joining a group. My local port is: 33071.'
  87. 2023-10-23T17:10:15.660348+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  88. 081 when joining a group. My local port is: 33071.'
  89. 2023-10-23T17:10:15.660441+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  90. 091 when joining a group. My local port is: 33071.'
  91. 2023-10-23T17:10:15.660530+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  92. 061 when joining a group. My local port is: 33071.'
  93. 2023-10-23T17:10:15.660612+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  94. 081 when joining a group. My local port is: 33071.'
  95. 2023-10-23T17:10:15.660681+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error on opening a connection to peer node 192.168.188.60:33
  96. 091 when joining a group. My local port is: 33071.'
  97. 2023-10-23T17:10:15.660708+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error connecting to all peers. Member join failed. Local por
  98. t: 33071'
  99. 2023-10-23T17:10:15.668077+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] 1698052215.667896 pid 28817 xcom_id b039bd31 state xcom_fsm_s
  100. tart action x_fsm_terminate'
  101. 2023-10-23T17:10:15.668258+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] 1698052215.668241 pid 28817 xcom_id b039bd31 state xcom_fsm_s
  102. tart action x_fsm_exit'
  103. 2023-10-23T17:10:15.668320+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Exiting xcom thread'
  104. 2023-10-23T17:10:15.668434+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] set CON_NULL for fd:59 in close_connection'
  105. 2023-10-23T17:10:15.878116+08:00 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] The member was unable to join the group. Local port: 33071'
  106. 2023-10-23T17:10:15.878296+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Sleeping for 5 seconds before retrying to join the group. The
  107. re are 9 more attempt(s) before giving up.'
  108. 2023-10-23T17:10:21.075144+08:00 0 [Note] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] 1698052221.040079 pid 28817 xcom_id b039bd31 state xcom_fsm_s
  109. tart action x_fsm_init'
  110. 2023-10-23T17:10:24.265037+08:00 0 [Warning] [MY-010140] [Server] Could not increase number of max_open_files to more than 10000 (request: 65535)
  111. 2023-10-23T17:10:24.465777+08:00 0 [Warning] [MY-011068] [Server] The syntax 'log_slow_slave_statements' is deprecated and will be removed in a future release. Plea
  112. se use log_slow_replica_statements instead.
  113. 2023-10-23T17:10:24.465809+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_parallel_type' is deprecated and will be removed in a future release. Please use
  114. replica_parallel_type instead.
  115. 2023-10-23T17:10:24.465812+08:00 0 [Warning] [MY-011069] [Server] The syntax '--replica-parallel-type' is deprecated and will be removed in a future release.
  116. 2023-10-23T17:10:24.465817+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_parallel_workers' is deprecated and will be removed in a future release. Please
  117. use replica_parallel_workers instead.
  118. 2023-10-23T17:10:24.465823+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_preserve_commit_order' is deprecated and will be removed in a future release. Pl
  119. ease use replica_preserve_commit_order instead.
  120. 2023-10-23T17:10:24.465829+08:00 0 [Warning] [MY-011068] [Server] The syntax 'slave_checkpoint_period' is deprecated and will be removed in a future release. Please
  121. use replica_checkpoint_period instead.
  122. 2023-10-23T17:10:24.465908+08:00 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-file-priv: Current value does not restrict location of generat
  123. ed files. Consider setting it to a valid, non-empty path.
  124. 2023-10-23T17:10:24.465911+08:00 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-log-path: Current value does not restrict location of generate
  125. d files. Consider setting it to a valid, non-empty path.
  126. 2023-10-23T17:10:24.465951+08:00 0 [Note] [MY-013932] [Server] BuildID[sha1]=5850d8e16b7845a955d11d6965d9d658fd24b257
  127. 2023-10-23T17:10:24.465954+08:00 0 [Note] [MY-010949] [Server] Basedir set to /usr/local/GreatSQL-8.0.32-24-Linux-glibc2.17-x86_64/.
  128. 2023-10-23T17:10:24.465958+08:00 0 [System] [MY-010116] [Server] /usr/local/GreatSQL-8.0.32-24-Linux-glibc2.17-x86_64/bin/mysqld (mysqld 8.0.32-24) starting as proc
  129. ess 30314
  130. 2023-10-23T17:10:24.473715+08:00 0 [Warning] [MY-012364] [InnoDB] innodb_open_files should not be greater than the open_files_limit.
  131. 2023-10-23T17:10:24.473741+08:00 0 [Note] [MY-012366] [InnoDB] Using Linux native AIO
  132. 2023-10-23T17:10:24.473758+08:00 0 [Warning] [MY-013869] [InnoDB] Ignored deprecated configuration parameter innodb_log_file_size. Used innodb_redo_log_capacity ins
  133. tead.
  134. 2023-10-23T17:10:24.473765+08:00 0 [Warning] [MY-013870] [InnoDB] Ignored deprecated configuration parameter innodb_log_files_in_group. Used innodb_redo_log_capacit
  135. y instead.
  136. 2023-10-23T17:10:24.473943+08:00 0 [Note] [MY-010747] [Server] Plugin 'FEDERATED' is disabled.
  137. 2023-10-23T17:10:24.474012+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndbcluster' is disabled.
  138. 2023-10-23T17:10:24.474027+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndbinfo' is disabled.
  139. 2023-10-23T17:10:24.474034+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndb_transid_mysql_connection_map' is disabled.
  140. 2023-10-23T17:10:24.477236+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
  141. 2023-10-23T17:10:24.477267+08:00 1 [Note] [MY-013546] [InnoDB] Atomic write enabled
  142. 2023-10-23T17:10:24.477288+08:00 1 [Note] [MY-012932] [InnoDB] PUNCH HOLE support available
  143. 2023-10-23T17:10:24.477299+08:00 1 [Note] [MY-012944] [InnoDB] Uses event mutexes
  144. 2023-10-23T17:10:24.477304+08:00 1 [Note] [MY-012945] [InnoDB] GCC builtin __atomic_thread_fence() is used for memory barrier
  145. 2023-10-23T17:10:24.477310+08:00 1 [Note] [MY-012948] [InnoDB] Compressed tables use zlib 1.2.13
  146. 2023-10-23T17:10:24.479093+08:00 1 [Note] [MY-012951] [InnoDB] Using hardware accelerated crc32 and polynomial multiplication.
  147. 2023-10-23T17:10:24.479387+08:00 1 [Note] [MY-012203] [InnoDB] Directories to scan './'
  148. 2023-10-23T17:10:24.479426+08:00 1 [Note] [MY-012204] [InnoDB] Scanning './'
  149. 2023-10-23T17:10:24.485376+08:00 1 [Note] [MY-012208] [InnoDB] Completed space ID check of 5 files.
  150. 2023-10-23T17:10:24.486187+08:00 1 [Note] [MY-012955] [InnoDB] Initializing buffer pool, total size = 2.000000G, instances = 8, chunk size =128.000000M
  151. 2023-10-23T17:10:24.486209+08:00 1 [Note] [MY-011872] [InnoDB] Setting NUMA memory policy to MPOL_INTERLEAVE
  152. 2023-10-23T17:10:26.508289+08:00 1 [Note] [MY-011874] [InnoDB] Setting NUMA memory policy to MPOL_DEFAULT
  153. 2023-10-23T17:10:26.538786+08:00 1 [Note] [MY-012957] [InnoDB] Completed initialization of buffer pool
  154. 2023-10-23T17:10:26.664916+08:00 0 [Note] [MY-011952] [InnoDB] If the mysqld execution user is authorized, page cleaner and LRU manager thread priority can be chang
  155. ed. See the man page of setpriority().
  156. 2023-10-23T17:10:26.731933+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_0.dblwr' for doublewrite
  157. 2023-10-23T17:10:26.735804+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_1.dblwr' for doublewrite
  158. 2023-10-23T17:10:26.738182+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_2.dblwr' for doublewrite
  159. 2023-10-23T17:10:26.738648+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_3.dblwr' for doublewrite
  160. 2023-10-23T17:10:26.740873+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_4.dblwr' for doublewrite
  161. 2023-10-23T17:10:26.741337+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_5.dblwr' for doublewrite
  162. 2023-10-23T17:10:26.743268+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_6.dblwr' for doublewrite
  163. 2023-10-23T17:10:26.743720+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_7.dblwr' for doublewrite
  164. 2023-10-23T17:10:26.746396+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_8.dblwr' for doublewrite
  165. 2023-10-23T17:10:26.746802+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_9.dblwr' for doublewrite
  166. 2023-10-23T17:10:26.754946+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_10.dblwr' for doublewrite
  167. 2023-10-23T17:10:26.755899+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_11.dblwr' for doublewrite
  168. 2023-10-23T17:10:26.758893+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_12.dblwr' for doublewrite
  169. 2023-10-23T17:10:26.759725+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_13.dblwr' for doublewrite
  170. 2023-10-23T17:10:26.762937+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_14.dblwr' for doublewrite
  171. 2023-10-23T17:10:26.763194+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_15.dblwr' for doublewrite
  172. 2023-10-23T17:10:26.791103+08:00 1 [Note] [MY-013566] [InnoDB] Double write buffer files: 16
  173. 2023-10-23T17:10:26.791182+08:00 1 [Note] [MY-013565] [InnoDB] Double write buffer pages per instance: 4
  174. 2023-10-23T17:10:26.791231+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_0.dblwr' for doublewrite
  175. 2023-10-23T17:10:26.791259+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_1.dblwr' for doublewrite
  176. 2023-10-23T17:10:26.791278+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_2.dblwr' for doublewrite
  177. 2023-10-23T17:10:26.791297+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_3.dblwr' for doublewrite
  178. 2023-10-23T17:10:26.791316+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_4.dblwr' for doublewrite
  179. 2023-10-23T17:10:26.791335+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_5.dblwr' for doublewrite
  180. 2023-10-23T17:10:26.791355+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_6.dblwr' for doublewrite
  181. 2023-10-23T17:10:26.791422+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_7.dblwr' for doublewrite
  182. 2023-10-23T17:10:26.791453+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_8.dblwr' for doublewrite
  183. 2023-10-23T17:10:26.791470+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_9.dblwr' for doublewrite
  184. 2023-10-23T17:10:26.791489+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_10.dblwr' for doublewrite
  185. 2023-10-23T17:10:26.791506+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_11.dblwr' for doublewrite
  186. 2023-10-23T17:10:26.791523+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_12.dblwr' for doublewrite
  187. 2023-10-23T17:10:26.791540+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_13.dblwr' for doublewrite
  188. 2023-10-23T17:10:26.791557+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_14.dblwr' for doublewrite
  189. 2023-10-23T17:10:26.791587+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_15.dblwr' for doublewrite
  190. 2023-10-23T17:10:26.962970+08:00 1 [Note] [MY-013883] [InnoDB] The latest found checkpoint is at lsn = 20671660 in redo log file ./#innodb_redo/#ib_redo0.
  191. 2023-10-23T17:10:26.995701+08:00 1 [Note] [MY-012560] [InnoDB] The log sequence number 20053481 in the system tablespace does not match the log sequence number 2067
  192. 1660 in the redo log files!
  193. 2023-10-23T17:10:27.000907+08:00 1 [Note] [MY-012551] [InnoDB] Database was not shutdown normally!
  194. 2023-10-23T17:10:27.000944+08:00 1 [Note] [MY-012552] [InnoDB] Starting crash recovery.
  195. 2023-10-23T17:10:27.061646+08:00 1 [Note] [MY-013086] [InnoDB] Starting to parse redo log at lsn = 20671529, whereas checkpoint_lsn = 20671660 and start_lsn = 20671
  196. 488
  197. 2023-10-23T17:10:27.061690+08:00 1 [Note] [MY-012550] [InnoDB] Doing recovery: scanned up to log sequence number 20671660
  198. 2023-10-23T17:10:27.121076+08:00 1 [Note] [MY-013083] [InnoDB] Log background threads are being started...
  199. 2023-10-23T17:10:27.282804+08:00 1 [Note] [MY-012532] [InnoDB] Applying a batch of 0 redo log records ...
  200. 2023-10-23T17:10:27.284115+08:00 1 [Note] [MY-012535] [InnoDB] Apply batch completed!
  201. 2023-10-23T17:10:27.284716+08:00 1 [Note] [MY-013252] [InnoDB] Using undo tablespace './undo_001'.
  202. 2023-10-23T17:10:27.285180+08:00 1 [Note] [MY-013252] [InnoDB] Using undo tablespace './undo_002'.
  203. 2023-10-23T17:10:27.285856+08:00 1 [Note] [MY-012910] [InnoDB] Opened 2 existing undo tablespaces.
  204. 2023-10-23T17:10:27.287149+08:00 1 [Note] [MY-011980] [InnoDB] GTID recovery trx_no: 7318
  205. 2023-10-23T17:10:27.384809+08:00 1 [Note] [MY-013776] [InnoDB] Parallel initialization of rseg complete
  206. 2023-10-23T17:10:27.386421+08:00 1 [Note] [MY-013777] [InnoDB] Time taken to initialize rseg using 2 thread: 99275 ms.
  207. 2023-10-23T17:10:27.386560+08:00 1 [Note] [MY-012255] [InnoDB] Removed temporary tablespace data file: "ibtmp1"
  208. 2023-10-23T17:10:27.386578+08:00 1 [Note] [MY-012923] [InnoDB] Creating shared tablespace for temporary tables
  209. 2023-10-23T17:10:27.386607+08:00 1 [Note] [MY-012265] [InnoDB] Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
  210. 2023-10-23T17:10:27.396242+08:00 1 [Note] [MY-012266] [InnoDB] File './ibtmp1' size is now 12 MB.
  211. 2023-10-23T17:10:27.396455+08:00 1 [Note] [MY-013627] [InnoDB] Scanning temp tablespace dir:'./#innodb_temp/'
  212. 2023-10-23T17:10:27.401950+08:00 1 [Note] [MY-013018] [InnoDB] Created 128 and tracked 128 new rollback segment(s) in the temporary tablespace. 128 are now active.
  213. 2023-10-23T17:10:27.402244+08:00 1 [Note] [MY-012976] [InnoDB] Percona XtraDB (http://www.percona.com) 8.0.32-8.0.32 started; log sequence number 20671670
  214. 2023-10-23T17:10:27.406307+08:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
  215. 2023-10-23T17:10:27.439941+08:00 1 [Note] [MY-011089] [Server] Data dictionary restarting version '80023'.
  216. 2023-10-23T17:10:27.531815+08:00 1 [Note] [MY-012357] [InnoDB] Reading DD tablespace files
  217. 2023-10-23T17:10:27.534356+08:00 1 [Note] [MY-012356] [InnoDB] Scanned 7 tablespaces. Validated 7.
  218. 2023-10-23T17:10:27.560140+08:00 1 [Note] [MY-010006] [Server] Using data dictionary with version '80023'.
  219. 2023-10-23T17:10:27.603406+08:00 0 [Note] [MY-011332] [Server] Plugin mysqlx reported: 'IPv6 is available'
  220. 2023-10-23T17:10:27.603493+08:00 0 [Note] [MY-011324] [Server] Plugin mysqlx reported: 'Retrying `bind()` on TCP/IP port 33060'
  221. 2023-10-23T17:10:28.604094+08:00 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible'
  222. 2023-10-23T17:10:28.604142+08:00 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of bind-address: '*' port: 33060 failed, `bind()` failed with error:
  223. Address already in use (98). Do you already have another mysqld server running with Mysqlx ?'
  224. 2023-10-23T17:10:28.604151+08:00 0 [ERROR] [MY-013597] [Server] Plugin mysqlx reported: 'Value '*' set to `Mysqlx_bind_address`, X Plugin can't bind to it. Skipping
  225. this value.'
  226. 2023-10-23T17:10:28.604170+08:00 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/tmp/mysqlx.sock' failed, another process with PID 28816
  227. is using UNIX socket file'
  228. 2023-10-23T17:10:28.604177+08:00 0 [Note] [MY-011322] [Server] Plugin mysqlx reported: 'Please see the MySQL documentation for 'mysqlx_port,mysqlx_bind_address' sys
  229. tem variables to fix the error'
  230. 2023-10-23T17:10:28.604183+08:00 0 [Note] [MY-011322] [Server] Plugin mysqlx reported: 'Please see the MySQL documentation for 'mysqlx_socket' system variables to f
  231. ix the error'
  232. 2023-10-23T17:10:28.642641+08:00 0 [Note] [MY-010902] [Server] Thread priority attribute setting in Resource Group SQL shall be ignored due to unsupported platform
  233. or insufficient privilege.
  234. 2023-10-23T17:10:28.645404+08:00 0 [Note] [MY-010855] [Server] Recovering after a crash using binlog
  235. 2023-10-23T17:10:28.645447+08:00 0 [System] [MY-010229] [Server] Starting XA crash recovery...
  236. 2023-10-23T17:10:28.664329+08:00 0 [Note] [MY-013911] [Server] Crash recovery finished in binlog engine. No attempts to commit, rollback or prepare any transactions
  237. .
  238. 2023-10-23T17:10:28.664395+08:00 0 [Note] [MY-013911] [Server] Crash recovery finished in InnoDB engine. No attempts to commit, rollback or prepare any transactions
  239. .
  240. 2023-10-23T17:10:28.664403+08:00 0 [System] [MY-010232] [Server] XA crash recovery finished.
  241. 2023-10-23T17:10:28.667744+08:00 0 [Note] [MY-012487] [InnoDB] DDL log recovery : begin
  242. 2023-10-23T17:10:28.667944+08:00 0 [Note] [MY-012488] [InnoDB] DDL log recovery : end
  243. 2023-10-23T17:10:28.668071+08:00 0 [Note] [MY-011946] [InnoDB] Loading buffer pool(s) from /data/GreatSQL/3307/ib_buffer_pool
  244. 2023-10-23T17:10:28.737188+08:00 0 [Note] [MY-010182] [Server] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support usin
  245. g them.
  246. 2023-10-23T17:10:28.737228+08:00 0 [Note] [MY-010304] [Server] Skipping generation of SSL certificates as certificate files are present in data directory.
  247. 2023-10-23T17:10:28.739371+08:00 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
  248. 2023-10-23T17:10:28.739475+08:00 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this chan
  249. nel.
  250. 2023-10-23T17:10:28.739527+08:00 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --sha256_password_auto_generate_rsa_keys as key files are
  251. present in data directory.
  252. 2023-10-23T17:10:28.739542+08:00 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --caching_sha2_password_auto_generate_rsa_keys as key fil
  253. es are present in data directory.
  254. 2023-10-23T17:10:28.740062+08:00 0 [Note] [MY-010252] [Server] Server hostname (bind-address): '*'; port: 3307
  255. 2023-10-23T17:10:28.740094+08:00 0 [Note] [MY-010253] [Server] IPv6 is available.
  256. 2023-10-23T17:10:28.740110+08:00 0 [Note] [MY-010264] [Server]   - '::' resolves to '::';
  257. 2023-10-23T17:10:28.740121+08:00 0 [Note] [MY-010251] [Server] Server socket created on IP: '::'.
  258. 2023-10-23T17:10:28.753812+08:00 0 [Note] [MY-011946] [InnoDB] Buffer pool(s) load completed at 231023 17:10:28
  259. 2023-10-23T17:10:28.757085+08:00 0 [Warning] [MY-010604] [Repl] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server
  260. acts as a slave and has his hostname changed!! Please use '--relay-log=localhost-relay-bin' to avoid this problem.
  261. 2023-10-23T17:10:28.758776+08:00 0 [Warning] [MY-013836] [Repl] Relay log recovery on channel with GTID_ONLY=1. The channel will switch to a new relay log and the G
  262. TID protocol will be used to replicate unapplied transactions.
  263. 2023-10-23T17:10:28.763140+08:00 0 [Warning] [MY-013836] [Repl] Relay log recovery on channel with GTID_ONLY=1. The channel will switch to a new relay log and the G
  264. TID protocol will be used to replicate unapplied transactions.
  265. 2023-10-23T17:10:28.763878+08:00 0 [Note] [MY-011025] [Repl] Failed to start slave threads for channel ''.
  266. 2023-10-23T17:10:28.765145+08:00 7 [Note] [MY-010051] [Server] Event Scheduler: scheduler thread started with id 7
  267. 2023-10-23T17:10:28.765251+08:00 0 [System] [MY-010931] [Server] /usr/local/GreatSQL-8.0.32-24-Linux-glibc2.17-x86_64/bin/mysqld: ready for connections. Version: '8
  268. .0.32-24'  socket: '/data/GreatSQL/3307/mysql.sock'  port: 3307  GreatSQL, Release 24, Revision 3714067bc8c.
  269. 2023-10-23T17:10:28.765355+08:00 0 [Note] [MY-011240] [Server] Plugin mysqlx reported: 'Using SSL configuration from MySQL Server'
  270. 2023-10-23T17:10:28.765798+08:00 0 [Note] [MY-011243] [Server] Plugin mysqlx reported: 'Using OpenSSL for TLS connections'
复制代码




全部回复(1)
yejr 2023-10-24 14:06:52
看起来关于MGR这部分似乎没设置正确,可以参考手册再做一遍


RPM安装并构建MGR集群 | GreatSQL官方手册

周智林

1

主题

0

博客

6

贡献

新手上路

Rank: 1

积分
9

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-11-23 20:13 , Processed in 0.020909 second(s), 12 queries , Redis On.
快速回复 返回顶部 返回列表