Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: dm v5.2.0 默认是悲观还是乐观模式?
The tutorial describes it as pessimistic mode, but I found it to be optimistic mode during actual testing?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: dm v5.2.0 默认是悲观还是乐观模式?
The tutorial describes it as pessimistic mode, but I found it to be optimistic mode during actual testing?
After adding shard-mode, it indeed switched to pessimistic mode.
It seems that version 5.2.0 has a significant BUG.
It is recommended to upgrade to at least 5.2.x.
What are the bugs? Where can I see them? I don’t know if they have any impact.
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.