YC27 commented on code in PR #13176:
URL: https://github.com/apache/iotdb/pull/13176#discussion_r1724297410
##########
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/receiver/IoTDBFileReceiver.java:
##########
@@ -71,6 +73,10 @@ public abstract class IoTDBFileReceiver implements
IoTDBReceiver {
protected boolean shouldConvertDataTypeOnTypeMismatch =
CONNECTOR_EXCEPTION_DATA_CONVERT_ON_TYPE_MISMATCH_DEFAULT_VALUE;
+ // Used to determine current strategy is sync or async
+ protected static final AtomicBoolean IS_USING_ASYNC_LOAD_TS_FILE_STRATEGY =
Review Comment:
If static is not used in that place, if the user switches the loading
method, there may be problems. The test found that the value is both false and
true during synchronization. @SteveYurongSu
--
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]