fixup! Reformat the code per github's requirement

This commit is contained in:
Xiaoge Su 2021-09-09 13:24:45 -07:00 committed by Jingyu Zhou
parent 40648dbb31
commit c32c3b6ec4
2 changed files with 4 additions and 6 deletions

View File

@ -183,8 +183,8 @@ struct LogSystemConfig {
LogEpoch oldestBackupEpoch;
LogSystemConfig(LogEpoch e = 0)
: logSystemType(LogSystemType::empty), logRouterTags(0), txsTags(0), expectedLogSets(0), stopped(false),
epoch(e), oldestBackupEpoch(e) {}
: logSystemType(LogSystemType::empty), logRouterTags(0), txsTags(0), expectedLogSets(0), stopped(false), epoch(e),
oldestBackupEpoch(e) {}
std::string toString() const;

View File

@ -18,7 +18,6 @@
* limitations under the License.
*/
#include "fdbserver/TagPartitionedLogSystem.actor.h"
#include "flow/actorcompiler.h" // This must be the last #include.
@ -1916,9 +1915,8 @@ Optional<std::pair<Version, Version>> TagPartitionedLogSystem::getDurableVersion
return Optional<std::pair<Version, Version>>();
}
ACTOR Future<Void> TagPartitionedLogSystem::getDurableVersionChanged(
LogLockInfo lockInfo,
std::vector<Reference<AsyncVar<bool>>> failed) {
ACTOR Future<Void> TagPartitionedLogSystem::getDurableVersionChanged(LogLockInfo lockInfo,
std::vector<Reference<AsyncVar<bool>>> failed) {
// Wait for anything relevant to change
std::vector<Future<Void>> changes;
for (int j = 0; j < lockInfo.logSet->logServers.size(); j++) {