hongzhi-gao opened a new pull request, #18008: URL: https://github.com/apache/iotdb/pull/18008
## Description ### Fix snapshot loader mods placement across receive folders Share `fileTarget` across all receive dirs in `loadSnapshotFromMultipleDirs()`, so a tsfile and its companion mods are linked to the same data dir even when fragments arrive in different folders. ### Add regression tests Add a unit test for spread snapshot fragments and a 1C3D cluster IT that verifies DELETE remains visible on all replicas after region migrate with multiple data dirs. ### IT infra tweaks Allow `setDnDataDirs` in cluster ITs and query replicas via table SQL dialect. <hr> This PR has: - [x] been self-reviewed. - [ ] added documentation for new or modified features or behaviors. - [ ] added Javadocs for most classes and all non-trivial methods. - [ ] added or updated version, __license__, or notice information - [ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage. - [x] added integration tests. - [x] been tested in a test IoTDB cluster. <hr> ##### Key changed/added classes (or packages if there are too many classes) in this PR - `SnapshotLoader` - `IoTDBSnapshotTest` - `IoTDBRegionMigrateWithDeletionMultiDataDirIT` - `DataNodeWrapper` - `DataNodeConfig` / `MppDataNodeConfig` -- 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]
