BUAAserein commented on code in PR #13001:
URL: https://github.com/apache/iotdb/pull/13001#discussion_r1687559293
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/scheduler/FragmentInstanceDispatcherImpl.java:
##########
@@ -325,7 +327,11 @@ private void dispatchRemoteHelper(final FragmentInstance
instance, final TEndPoi
LOGGER.warn(sendFragmentInstanceResp.message);
if (sendFragmentInstanceResp.isSetNeedRetry()
&& sendFragmentInstanceResp.isNeedRetry()) {
- throw new
RatisReadUnavailableException(sendFragmentInstanceResp.message);
+ if (sendFragmentInstanceResp.message.contains("read")) {
Review Comment:
Use TSStatus instead
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]