MarcosZyk opened a new pull request, #5851: URL: https://github.com/apache/iotdb/pull/5851
## Description ### Cause The storage group info management of dataNode went wrong when createSchemaRegion. The localStorageGroupSchemaManager go through the auto create sg logic with normal path rather than specified storage group path. It means when the target storage group path is root.a.sg, the sg created by ensureStorageGroup method is root.a since the default sg level is 1. ### Solution rewrite the logic of localStorageGroupSchemaManager.ensureStorageGroup and rename it to ensureStorageGroupByStorageGroupPath -- 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]
