Commit Graph

1621 Commits

Author SHA1 Message Date
wangzihuacool
9c0babdc07
Merge branch 'github:master' into add-rocksdb-as-transactional-engine 2022-11-23 11:01:33 +08:00
dm-2
1a131d4398
Merge pull request #1202 from github/ensure-test-errors-detected
Fix migration test passing when `convert-utf8mb4` test setup was partially failing
2022-11-18 16:08:41 +00:00
dm-2
45cf63c839
Merge branch 'master' into ensure-test-errors-detected 2022-11-18 15:58:20 +00:00
dm-2
8abd584826 fix broken test by removing invalid insert statement 2022-11-18 15:49:04 +00:00
dm-2
756f3d30e8 add error detection for test setup, sort tests to make it easier to track progress 2022-11-18 15:44:14 +00:00
dm-2
7cebc16c6f debugging 2022-11-18 15:32:34 +00:00
dm-2
cd65c7e9ad add extra debugging output 2022-11-18 15:11:44 +00:00
dm-2
3613f22ea7
Merge pull request #1192 from hasanMshawrab/patch-1
Fix: Change table name
2022-11-16 16:31:31 +00:00
dm-2
a673363c16
Merge branch 'master' into patch-1 2022-11-16 16:22:33 +00:00
dm-2
a523042703
Merge pull request #1201 from morgo/attempt-instant-ddl
Attempt INSTANT DDL first
2022-11-16 16:22:28 +00:00
Morgan Tocker
59c1a24774 remove useless func per review 2022-11-15 15:40:21 -07:00
Morgan Tocker
0310f9f27b Merge remote-tracking branch 'origin/attempt-instant-ddl' into attempt-instant-ddl
* origin/attempt-instant-ddl:
  Update go/logic/migrator.go
2022-11-15 12:06:38 -07:00
Morgan Tocker
5283b46ec2 Make it clear in docs it is disabled by default but safe. 2022-11-15 12:06:11 -07:00
Morgan Tocker
74fb8e80b2
Update go/logic/migrator.go
Co-authored-by: dm-2 <45519614+dm-2@users.noreply.github.com>
2022-11-15 12:05:27 -07:00
dm-2
512751968f more testing 2022-11-15 16:01:54 +00:00
dm-2
1b22f784e3 temp commit to investigate datetime-with-zero test failure 2022-11-15 15:06:19 +00:00
Morgan Tocker
3f3a10a213 Address PR feedback 2022-11-14 14:48:49 -07:00
Tim Vaillancourt
cfd83728ed
Merge branch 'master' into attempt-instant-ddl 2022-11-14 22:09:55 +01:00
Morgan Tocker
b06c1cd498 Improve docs 2022-11-14 12:35:49 -07:00
Morgan Tocker
75a346be93 Add tests, incorporate feedback 2022-11-14 11:47:30 -07:00
dm-2
fb82caf9e7
Merge pull request #1194 from SocalNick/nc--send-status-to-migration-context-logger-simple-alternative
Print status to migrationContext logger
2022-11-14 15:26:27 +00:00
dm-2
ca12039646
Merge branch 'master' into nc--send-status-to-migration-context-logger-simple-alternative 2022-11-14 15:12:56 +00:00
dm-2
96d708c956
Merge pull request #1200 from github/fix-ci
Change CI tests to use `ubuntu-20.04` because `ubuntu-latest` doesn't support MySQL 5.7
2022-11-14 15:12:24 +00:00
dm-2
9cbb42b924 fix CI tests to ubuntu-20.04 because ubuntu-22.04 (current -latest) doesn't support MySQL 5.7 2022-11-14 15:00:50 +00:00
Morgan Tocker
05f32ebf29 minor cleanup 2022-11-10 09:30:13 -07:00
Morgan Tocker
1be6a4c082 Attempt instant DDL if supported 2022-11-09 20:11:49 -07:00
Nicholas Calugar
515aa72d3d Print status to migration context logger 2022-10-27 11:42:12 -07:00
Hasan Mshawrab
2793e2b6b3
Fix: Change table name
table name is 'tbl' not 'tble'
2022-10-26 10:28:27 +03:00
Tim Vaillancourt
9b3fa793ac
Enable more golangci-lint linters (#1181) 2022-10-21 18:02:06 +02:00
Tim Vaillancourt
df4cf7b38e
Add basic test for hooks (#1179) 2022-10-21 17:47:39 +02:00
wangzihuacool
3f43400e3a add-rocksdb-as-transactional-engine 2022-10-20 13:34:31 +00:00
Tim Vaillancourt
1df37c207f
Add basic tests to migrator (#1168) 2022-09-06 15:48:48 +02:00
Tim Vaillancourt
05c7ed5f8f
Add basic test for inspector (#1166)
* Add basic test for inspector

* Add header

* Fix return
2022-09-06 15:23:18 +02:00
Tim Vaillancourt
1fa3d4f75a
Add basic tests for applier (#1165)
* Add basic tests for applier

* Add header
2022-09-06 15:06:14 +02:00
Tim Vaillancourt
3c946e97d7
Improve applier .ReadMigrationRangeValues() func accuracy (#1164)
* Use a transaction in applier `ReadMigrationRangeValues` func

* Private func names
2022-09-06 14:07:47 +02:00
dm-2
1a473a4f66
Merge pull request #1158 from wangzihuacool/fix-charset
Fix: Convert column value in binlog events to bytes instead of utf8 encoded unicode
2022-09-06 11:56:56 +01:00
dm-2
9c2c7bad1b
Merge branch 'master' into fix-charset 2022-09-06 11:44:07 +01:00
Abirdcfly
ca8aef5d6d
chore: remove duplicate word in comments (#1175)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-08-30 23:49:13 +02:00
wangzihuacool
e9cb4a233f convert to bytes if character string without charsetConversion. 2022-08-27 01:55:36 +00:00
wangzihuacool
a17389e97a Some fix to unit tests. 2022-08-20 01:06:00 +08:00
Tim Vaillancourt
2ad614ab1e
Merge branch 'master' into fix-charset 2022-08-18 22:36:24 +02:00
Tim Vaillancourt
3f44e04365
Set a transaction isolation level for MySQL connections (#1156)
* Set transaction isolation in connections

* Revert load_map.go change

* Var rename

* Restore comment
2022-08-12 18:52:22 +02:00
Tim Vaillancourt
5de91c9f90
Add missing doc from PR #1131 (#1162) 2022-08-11 10:32:00 +02:00
wangzihuacool
c93060e743 restore connection charset to utf8mb4 2022-08-11 13:14:38 +08:00
Tim Vaillancourt
bee009b9e3
Allow zero in dates (#1161)
* Merge pull request #31 from openark/zero-date

Support zero date and zero in date, via dedicated command line flag

* Merge pull request #32 from openark/existing-date-with-zero

Support tables with existing zero dates

* Remove un-needed ignore_versions file

* Fix new lint errors from golang-ci update

Co-authored-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2022-08-10 21:50:59 +02:00
wangzihuacool
8a193e0024
delete junk files 2022-08-03 14:18:50 +08:00
wangzihuacool
113094bbd2 Convert character to bytes and insert into table using latin1 2022-08-03 11:43:18 +08:00
dm-2
7d8e4e8d3d
Merge pull request #1154 from github/fix-build-script
Only build RPM and deb packages for amd64
2022-07-20 15:31:34 +01:00
dm-2
2d3e8d998e Only build RPM and deb packages for amd64 2022-07-20 14:47:51 +01:00
Tim Vaillancourt
ffe54f48ed
Enable more golang-ci linters (#1149) 2022-07-18 18:37:18 +02:00