[
https://issues.apache.org/jira/browse/IOTDB-4300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599212#comment-17599212
]
QiangShaowei commented on IOTDB-4300:
-------------------------------------
问题1和问题3是一类问题,就是在
FragmentInstanceDispatcherImpl dispatchLocally 执行
writeResponse = DataRegionConsensusImpl.getInstance().write(groupId, planNode)
时 这个region被删或者在删的过程中,导致共识写失败,这里要修改捕获异常。并重定向给客户端,让客户端找其他节点另写。
问题2 的原因是节点A已经缩容region迁移走,且停机。
但是其他节点服务端QueryExecution.analysis中还是保存的旧的region分布信息,所以redirect到停机节点。需要在redirect前清理
partition缓存并重新从CN获取最新region分布,再redirect
> writing data with benchmark then remove a datanode, there are some errors
> ---------------------------------------------------------------------------
>
> Key: IOTDB-4300
> URL: https://issues.apache.org/jira/browse/IOTDB-4300
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: QiangShaowei
> Assignee: QiangShaowei
> Priority: Critical
> Attachments: image-2022-09-01-17-47-33-665.png,
> image-2022-09-01-17-51-51-162.png, image-2022-09-01-17-52-22-119.png
>
>
> when writing data with benchmark(or Session API ) continuously,
> then remove a datanode(it has data regions)
> the client has some errors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)