blue/green deployment technique with aurora and replication failure

0

I was testing the blue/green deployment technique, which works fine with idle clusters but fails replication with some DDL when the deployment is running. For example, while the Green cluster deployment was in progress, I created the databases, and the replication in the green primary failed.

5.6.10-log AURORA_VERSION 1.22.5

mysql> create database mytest10; Query OK, 1 row affected (0.01 sec)

5.7.12 AURORA_VERSION 2.11.0

           ..._IO_Running: Yes
            ..._SQL_Running: No
 mysql.rds_replication_status,mysql.rds_monitor,mysql.rds_sysinfo,mysql.rds_configuration,mysql.rds_history
      Replicate_Wild_Do_Table:
  Replicate_Wild_Ignore_Table:
                   Last_Errno: 1007
                   Last_Error: Error 'Can't create database 'mytest10'; database exists' on query. Default database: 'mytest10'. Query: 'create database mytest10'
Arun
질문됨 일 년 전688회 조회
1개 답변
0

Testing with create table also failed the replication:

                  Last_Error: Error 'Table 'author11' already exists' on query. Default database: 'mytest10'. Query: 'CREATE TABLE `author11` (
  `id` int NOT NULL AUTO_INCREMENT,
  `first_name` varchar(50),
  `last_name` varchar(50),
  `email` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
   PRIMARY KEY (`id`),
  UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB'
Arun
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠