liuliuwd

Results 7 issues of liuliuwd

请问LearnMaster方法中,下面这段逻辑什么情况下会成立? if (oMasterOper.lastversion() != 0 && llInstanceID > m_llMasterVersion && oMasterOper.lastversion() != m_llMasterVersion) { BP->GetMasterBP()->MasterSMInconsistent(); PLG1Err("other last version %lu not same to my last version %lu, instanceid %lu", oMasterOper.lastversion(), m_llMasterVersion,...

请问是单条2KB ×N条数据合并还是,N条任意大小的数据合并为2KB的batch请求再发起propose?我们自测有些差距,想了解下压测条件,麻烦看到后回复下,谢谢!

void Learner :: OnProposerSendSuccess(const PaxosMsg & oPaxosMsg) { ...... ...... if (m_poAcceptor->GetAcceptorState()->GetAcceptedBallot() != oBallot) { //Proposalid not same, this accept value maybe not chosen value. PLGDebug("ProposalBallot not same to AcceptedBallot");...

void Instance :: CheckNewValue() { ...... m_oCommitCtx.StartCommit(m_oProposer.GetInstanceID()); if (m_oCommitCtx.GetTimeoutMs() != -1) { m_oIOLoop.AddTimer(m_oCommitCtx.GetTimeoutMs(), Timer_Instance_Commit_Timeout, m_iCommitTimerID); } m_oTimeStat.Point(); if (m_poConfig->GetIsUseMembership() && (m_oProposer.GetInstanceID() == 0 || m_poConfig->GetGid() == 0)) { //Init system...