Caideyipi opened a new pull request, #19159: URL: https://github.com/apache/iotdb/pull/19159
Backport of [apache/iotdb#19141](https://github.com/apache/iotdb/pull/19141), commit `c4086c5df64dcebf052b3f08ed462ed5293ab1cb`. `loadNewTsFile` can move or remove the source TsFile before rate-limit accounting reads the resource path. Use the original `tsFileToLoad` length so the limiter charges the source bytes accurately. The regression test covers both `deleteOrigin` values, verifies the recorded byte count, and checks file transfer behavior. It is adapted to the `dev/1.3` TsFile path, Tablet, and four-argument `loadNewTsFile` APIs. Validation: Spotless passed. Local compilation was skipped; CI will compile the change. -- 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]
