Is DM v5.2.0 in Pessimistic or Optimistic Mode by Default?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: dm v5.2.0 默认是悲观还是乐观模式?

| username: Hacker007

The tutorial describes it as pessimistic mode, but I found it to be optimistic mode during actual testing?

| username: buchuitoudegou | Original post link

Can you send the task configuration?

| username: Hacker007 | Original post link

After adding shard-mode, it indeed switched to pessimistic mode.

| username: Billmay表妹 | Original post link

It seems that version 5.2.0 has a significant BUG.
It is recommended to upgrade to at least 5.2.x.

| username: Hacker007 | Original post link

What are the bugs? Where can I see them? I don’t know if they have any impact.

| username: Billmay表妹 | Original post link

Get a general understanding.

| username: buchuitoudegou | Original post link

In shard-mode, there is actually no such thing as a default value. If you don’t fill in “pessimistic,” it defaults to not performing database and table merging migration. There used to be a configuration item called “is-sharding” (which is no longer used) to indicate whether to use database and table merging. Perhaps the default value was effective in previous versions.