Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.2.15 出现部分字段数据没更新全为0 #512

Closed
luyee opened this issue Apr 19, 2018 · 4 comments
Closed

4.2.15 出现部分字段数据没更新全为0 #512

luyee opened this issue Apr 19, 2018 · 4 comments

Comments

@luyee
Copy link

luyee commented Apr 19, 2018

manager4.2.13,node 一台4.2.15,一台4.2.13.。。。 4.2.15版本上跑的channel出现的,目前切换到4.2.13测试是不是会复现

@SanmuWangZJU
Copy link

是不是开启了数据库表类型转换?

@luyee
Copy link
Author

luyee commented May 18, 2018

@SanmuWangZJU 这个是做啥的 这个默认都是开起的吧?原表目标表结构一致

@SanmuWangZJU
Copy link

你先试试关了能正常同步吗?如果开启了这个选项,otter会在T阶段把进行同步的字段的类型转化为目标表相应的字段类型,在L阶段会根据这个类型向preparedstatement中setvalue,如果字段前后类型不一致,比如setInt(6.5)是无法set成功的,此时默认set给这个字段默认值。

@luyee
Copy link
Author

luyee commented Jun 25, 2018

应该是同类问题#507

@luyee luyee closed this as completed Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants