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

节点配置里配置多个节点时会产生重复数据? #235

Open
Sai-2021 opened this issue Feb 25, 2022 · 2 comments
Open

节点配置里配置多个节点时会产生重复数据? #235

Sai-2021 opened this issue Feb 25, 2022 · 2 comments

Comments

@Sai-2021
Copy link

节点配置里配置多个节点(同一个群组)时,tx_raw_data_1表里会插入重复数据.
跟踪代码发现每个配置的节点都会创建一个DataExportExecutor并且最终执行MysqlStoreService.storeBlockInfoBO()
而tx_raw_data_1的索引不是唯一索引,所以最终创建了多条同样数据.
请问这个是bug吗?

@mingzhenliu
Copy link
Collaborator

谢谢反馈,我们查一下

@Sayou1989
Copy link
Contributor

节点配置里配置多个节点(同一个群组)时,tx_raw_data_1表里会插入重复数据. 跟踪代码发现每个配置的节点都会创建一个DataExportExecutor并且最终执行MysqlStoreService.storeBlockInfoBO() 而tx_raw_data_1的索引不是唯一索引,所以最终创建了多条同样数据. 请问这个是bug吗?

浏览器展示的数据有问题吗?

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

3 participants