CRZbulabula commented on code in PR #18580:
URL: https://github.com/apache/iotdb/pull/18580#discussion_r3931558476
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/CNPhysicalPlanGenerator.java:
##########
@@ -513,15 +517,22 @@ private void generateDatabasePhysicalPlan() {
}
private void generateTemplatePlan() {
- try (final BufferedInputStream bufferedInputStream =
- new BufferedInputStream(templateInputStream)) {
- final ByteBuffer byteBuffer =
ByteBuffer.wrap(IOUtils.toByteArray(bufferedInputStream));
+ // The template snapshot file is read into a direct buffer instead of the
heap, so generating
Review Comment:
The template snapshot path in CNPhysicalPlanGenerator has been reverted as
part of scoping this PR to PartitionInfo only, and the PR description has been
updated to match the final implementation. No longer applies. Resolving.
--
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]