Caideyipi opened a new pull request, #17815:
URL: https://github.com/apache/iotdb/pull/17815
## Description
This patch fixes pipe tsfile receiver behavior when the sender provides a
tree database name such as oot.test.sg_0:
- derive the tree database level from the provided database name for sync
tsfile load, so oot.test.sg_0 uses database level 2 instead of the receiver
default
- apply the same derived database level to async active-load attributes so
async and sync pipe tsfile load behave consistently
- classify IoTDBRuntimeException(DATABASE_NOT_EXIST) as
PIPE_RECEIVER_PARALLEL_OR_USER_CONFLICT_EXCEPTION, matching the TSStatus
visitor path instead of returning 305
- reduce repeated receiver statement exception WARN stack logs via the
existing PipePeriodicalLogReducer style
## Tests
- mvn spotless:apply -pl iotdb-core/datanode
- git diff --check
- mvn '-Ddevelocity.off=true' '-Dcheckstyle.skip=true' '-DargLine=-Xmx512m'
test -pl iotdb-core/datanode
'-Dtest=IoTDBDataNodeReceiverTest,PipeStatementTsStatusVisitorTest,LoadTsFileStatementTest'
- blocked before test execution by existing generated-source compilation
errors in arget/generated-sources/freemarker/.../*ModeAccumulator.java
(ComparatorChain missing and IoTDBConfig.getModeMapSizeThreshold() missing)
--
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]