Skip to content

Commit

Permalink
Refine2
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeny Malygin <[email protected]>
  • Loading branch information
678098 committed Dec 6, 2024
1 parent 41b20a9 commit 7fe8a8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/groups/mqb/mqbblp/mqbblp_storagemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ int StorageManager::start(bsl::ostream& errorDescription)
<< ") exceeds the protocol limit ("
<< mqbs::FileStoreProtocol::k_MAX_DATA_FILE_SIZE_HARD
<< ")";
return rc_OVERFLOW_MAX_DATA_FILE_SIZE;
return rc_OVERFLOW_MAX_DATA_FILE_SIZE; // RETURN
}

if (mqbs::FileStoreProtocol::k_MAX_JOURNAL_FILE_SIZE_HARD <
Expand All @@ -1351,7 +1351,7 @@ int StorageManager::start(bsl::ostream& errorDescription)
<< ") exceeds the protocol limit ("
<< mqbs::FileStoreProtocol::k_MAX_JOURNAL_FILE_SIZE_HARD
<< ")";
return rc_OVERFLOW_MAX_JOURNAL_FILE_SIZE;
return rc_OVERFLOW_MAX_JOURNAL_FILE_SIZE; // RETURN
}

if (mqbs::FileStoreProtocol::k_MAX_QLIST_FILE_SIZE_HARD <
Expand All @@ -1361,7 +1361,7 @@ int StorageManager::start(bsl::ostream& errorDescription)
<< ") exceeds the protocol limit ("
<< mqbs::FileStoreProtocol::k_MAX_QLIST_FILE_SIZE_HARD
<< ")";
return rc_OVERFLOW_MAX_QLIST_FILE_SIZE;
return rc_OVERFLOW_MAX_QLIST_FILE_SIZE; // RETURN
}

int rc = mqbc::StorageUtil::validatePartitionDirectory(partitionCfg,
Expand Down
6 changes: 3 additions & 3 deletions src/groups/mqb/mqbc/mqbc_storagemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3487,7 +3487,7 @@ int StorageManager::start(bsl::ostream& errorDescription)
<< ") exceeds the protocol limit ("
<< mqbs::FileStoreProtocol::k_MAX_DATA_FILE_SIZE_HARD
<< ")";
return rc_OVERFLOW_MAX_DATA_FILE_SIZE;
return rc_OVERFLOW_MAX_DATA_FILE_SIZE; // RETURN
}

if (mqbs::FileStoreProtocol::k_MAX_JOURNAL_FILE_SIZE_HARD <
Expand All @@ -3497,7 +3497,7 @@ int StorageManager::start(bsl::ostream& errorDescription)
<< ") exceeds the protocol limit ("
<< mqbs::FileStoreProtocol::k_MAX_JOURNAL_FILE_SIZE_HARD
<< ")";
return rc_OVERFLOW_MAX_JOURNAL_FILE_SIZE;
return rc_OVERFLOW_MAX_JOURNAL_FILE_SIZE; // RETURN
}

if (mqbs::FileStoreProtocol::k_MAX_QLIST_FILE_SIZE_HARD <
Expand All @@ -3507,7 +3507,7 @@ int StorageManager::start(bsl::ostream& errorDescription)
<< ") exceeds the protocol limit ("
<< mqbs::FileStoreProtocol::k_MAX_QLIST_FILE_SIZE_HARD
<< ")";
return rc_OVERFLOW_MAX_QLIST_FILE_SIZE;
return rc_OVERFLOW_MAX_QLIST_FILE_SIZE; // RETURN
}

int rc = StorageUtil::validatePartitionDirectory(partitionCfg,
Expand Down

0 comments on commit 7fe8a8d

Please sign in to comment.