HappenLee commented on code in PR #67012:
URL: https://github.com/apache/doris/pull/67012#discussion_r3830154345


##########
fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileManager.java:
##########
@@ -126,6 +127,7 @@ public void deleteFromStorage() {
     // no further write operation, so no data race
     private final ReentrantReadWriteLock isProfileLoadedLock = new 
ReentrantReadWriteLock();
     volatile boolean isProfileLoaded = false;
+    private final AtomicBoolean isProfileLoading = new AtomicBoolean(false);

Review Comment:
   should be a status to set and check。 no need add a new boolean



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to