Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[master] Allow syncing of ds nodes if they kicked out of ds comm instead of rejoin from scrach #3896

Merged
merged 1 commit into from Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/libDirectoryService/DSBlockPostProcessing.cpp
Expand Up @@ -573,8 +573,9 @@ void DirectoryService::StartFirstTxEpoch() {
if (!found) {
LOG_EPOCH(WARNING, m_mediator.m_currentEpochNum,
"My DS node signed insufficient blocks. Kicked out and "
"invoking RejoinAsNormal now.");
m_mediator.m_node->RejoinAsNormal();
"start syncing.Better luck next time !!!");
m_mediator.m_lookup->SetSyncType(SyncType::NORMAL_SYNC);
m_mediator.m_node->StartSynchronization();
return;
}

Expand Down