jt2594838 opened a new pull request, #18217: URL: https://github.com/apache/iotdb/pull/18217
## Description Backport #18215 to `dev/1.3`. The 1.3 MQTT implementation remains in the DataNode module. This PR validates incoming MQTT measurement names with `PathUtils.checkIsLegalSingleMeasurementsAndUpdate` before constructing an insert statement, rejecting invalid single-node names such as `a.b`. The master integration-test infrastructure is not present in 1.3, so this backport adds focused handler tests for both legal and illegal measurements. ## Tests - `mvn test -pl iotdb-core/datanode -am -Dtest=MPPPublishHandlerTest -Dsurefire.failIfNoSpecifiedTests=false` <hr> This PR has: - [x] been self-reviewed. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage. <hr> ##### Key changed/added classes (or packages if there are too many classes) in this PR - `MPPPublishHandler` - `MPPPublishHandlerTest` -- 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]
