HTHou commented on code in PR #13068:
URL: https://github.com/apache/iotdb/pull/13068#discussion_r1730630790


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/StorageEngine.java:
##########
@@ -178,17 +180,18 @@ public static void blockInsertionIfReject() throws 
WriteProcessRejectException {
     }
   }
 
-  public boolean isAllSgReady() {
-    return isAllSgReady.get();
+  public boolean isReadyForReadAndWrite() {
+    return isReadyForReadAndWrite.get();
   }
 
-  public void setAllSgReady(boolean allSgReady) {
-    isAllSgReady.set(allSgReady);
+  public boolean isReady() {
+    return isReady.get();
   }

Review Comment:
   OK, let me rename `isReady` to `isReadyForNonReadWriteFunctions`.



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

Reply via email to