You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/06/16 09:58:55 UTC
[GitHub] [iotdb] HTHou commented on a diff in pull request #6312: [IOTDB-3438] Fix empty WAL file
HTHou commented on code in PR #6312:
URL: https://github.com/apache/iotdb/pull/6312#discussion_r898914537
##########
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/DataRegion.java:
##########
@@ -509,8 +509,16 @@ private void recover() throws DataRegionException {
// recover and start timed compaction thread
initCompaction();
- logger.info(
- "The data region {}[{}] is recovered successfully", logicalStorageGroupName, dataRegionId);
+ if (StorageEngine.getInstance().isAllSgReady()
+ || StorageEngineV2.getInstance().isAllSgReady()) {
Review Comment:
```suggestion
if (config.isMppMode() ? StorageEngineV2.getInstance().isAllSgReady()
: StorageEngine.getInstance().isAllSgReady()) {
```
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org