bigreybear commented on code in PR #9664:
URL: https://github.com/apache/iotdb/pull/9664#discussion_r1172756207
##########
server/src/main/java/org/apache/iotdb/db/mpp/plan/analyze/schema/ClusterSchemaFetcher.java:
##########
@@ -159,7 +164,12 @@ public void fetchAndComputeSchemaWithAutoCreate(
// The schema cache R/W and fetch operation must be locked together thus
the cache clean
// operation executed by delete timeseries will be effective.
schemaCache.takeReadLock();
+ templateSchemaCache.takeWriteLock();
Review Comment:
fixed
--
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]