Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
CHANGELOG: update release note for 2.0.3 (#1669) (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed May 11, 2021
1 parent fcf9adf commit 6a8ba8b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-via-tiup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
strategy:
fail-fast: false
matrix:
previous_v2: ["v2.0.0", "v2.0.1", "v2.0.2"]
previous_v2: ["v2.0.0", "v2.0.1"]

steps:

Expand Down
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,31 @@

All notable changes to this project will be documented in this file.

## [2.0.3] 2021-05-10

### Improvements

- Support deleting residual DDL locks using the command `unlock-ddl-lock` after the migration task is stopped [#1612](https://github.com/pingcap/dm/pull/1612)
- Support limiting the number of errors and warnings that DM reports during the precheck process [#1621](https://github.com/pingcap/dm/pull/1621)
- Optimize the behavior of the command `query-status` to get the status of upstream binlogs [#1630](https://github.com/pingcap/dm/pull/1630)
- Optimize the format of sharded tables’ migration status output by the command `query-status` in the pessimistic mode [#1650](https://github.com/pingcap/dm/pull/1650)
- Print help message first when dmtcl processes commands with the `--help` input [#1637](https://github.com/pingcap/dm/pull/1637)
- Automatically remove the related information from monitoring panels after a DDL lock is deleted [#1631](https://github.com/pingcap/dm/pull/1631)
- Automatically remove the related task status from monitoring panels after a task is stopped or completed [#1614](https://github.com/pingcap/dm/pull/1614)

### Bug fixes

- Fix the issue that DM-master becomes out of memory after DM is updated to v2.0.2 in the process of shard DDL coordination using the optimistic mode [#1643](https://github.com/pingcap/dm/pull/1643) [#1649](https://github.com/pingcap/dm/pull/1649)
- Fix the issue that the source binding information is lost when DM is started for the first time after updated to v2.0.2 [#1649](https://github.com/pingcap/dm/pull/1649)
- Fix the issue that the flag in the command `operate-source show -s` does not take effect [#1587](https://github.com/pingcap/dm/pull/1587)
- Fix the issue that the command `operate-source stop <config-file>` fails because DM cannot connect to the source [#1587](https://github.com/pingcap/dm/pull/1587)
- Fix the finer-grained issue that some migration errors might be wrongly ignored [#1599](https://github.com/pingcap/dm/pull/1599)
- Fix the issue that the migration is interrupted when DM filters online DDL statements according to binlog event filtering rules that are configured [#1668](https://github.com/pingcap/dm/pull/1668)

### Known issues

[GitHub issues](https://github.com/pingcap/dm/issues?q=is%3Aissue+label%3Aaffected-v2.0.3)

## [2.0.2] 2021-04-09

### Improvements
Expand Down Expand Up @@ -42,7 +67,7 @@ All notable changes to this project will be documented in this file.

### Known issues

[GitHub issues](https://github.com/pingcap/dm/issues?q=is%3Aissue+is%3Aopen+label%3Aaffected-v2.0.2)
[GitHub issues](https://github.com/pingcap/dm/issues?q=is%3Aissue+label%3Aaffected-v2.0.2)

## [2.0.1] 2020-12-25

Expand Down
1 change: 1 addition & 0 deletions relay/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ func (lm *LocalMeta) AddDir(serverUUID string, newPos *mysql.Position, newGTID g
}

// update UUID index file
// nolint:gocritic
uuids := append(lm.uuids, newUUID)
err = lm.updateIndexFile(uuids)
if err != nil {
Expand Down
2 changes: 2 additions & 0 deletions syncer/syncer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ func (s *testSyncerSuite) TestColumnMapping(c *C) {
mapping, err := cm.NewMapping(false, rules)
c.Assert(err, IsNil)

// nolint:gocritic
allEvents := append(createEvents, dmlEvents...)
allEvents = append(allEvents, dropEvents...)
dmlIndex := 0
Expand Down Expand Up @@ -1314,6 +1315,7 @@ func (s *testSyncerSuite) TestExitSafeModeByConfig(c *C) {
}
generatedEvents2 := s.generateEvents(events2, c)

// nolint:gocritic
generatedEvents := append(generatedEvents1, generatedEvents2...)

mockStreamerProducer := &MockStreamProducer{generatedEvents}
Expand Down

0 comments on commit 6a8ba8b

Please sign in to comment.