diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/s/catalog/legacy/config_upgrade_helpers.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/s/catalog/legacy/config_upgrade_helpers.h')
-rw-r--r-- | src/mongo/s/catalog/legacy/config_upgrade_helpers.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/mongo/s/catalog/legacy/config_upgrade_helpers.h b/src/mongo/s/catalog/legacy/config_upgrade_helpers.h index 10d03676ea8..7411737e262 100644 --- a/src/mongo/s/catalog/legacy/config_upgrade_helpers.h +++ b/src/mongo/s/catalog/legacy/config_upgrade_helpers.h @@ -39,32 +39,32 @@ namespace mongo { - class CatalogManager; - class ConnectionString; - class OID; - class Status; - class VersionType; +class CatalogManager; +class ConnectionString; +class OID; +class Status; +class VersionType; - /** - * Checks whether an unsuccessful upgrade was performed last time and also checks whether - * the mongos in the current cluster have the mimimum version required. Returns not ok if - * the check failed and the upgrade should not proceed. - * - * Note: There is also a special case for ManualInterventionRequired error where the - * message will be empty. - */ - Status preUpgradeCheck(CatalogManager* catalogManager, - const VersionType& lastVersionInfo, - std::string minMongosVersion); +/** + * Checks whether an unsuccessful upgrade was performed last time and also checks whether + * the mongos in the current cluster have the mimimum version required. Returns not ok if + * the check failed and the upgrade should not proceed. + * + * Note: There is also a special case for ManualInterventionRequired error where the + * message will be empty. + */ +Status preUpgradeCheck(CatalogManager* catalogManager, + const VersionType& lastVersionInfo, + std::string minMongosVersion); - /** - * Informs the config server that the upgrade task was completed by bumping the version. - * This also clears all upgrade state effectively leaving the critical section if the - * upgrade process did enter it. - */ - Status commitConfigUpgrade(CatalogManager* catalogManager, - int currentVersion, - int minCompatibleVersion, - int newVersion); +/** + * Informs the config server that the upgrade task was completed by bumping the version. + * This also clears all upgrade state effectively leaving the critical section if the + * upgrade process did enter it. + */ +Status commitConfigUpgrade(CatalogManager* catalogManager, + int currentVersion, + int minCompatibleVersion, + int newVersion); -} // namespace mongo +} // namespace mongo |