LogCabin
Classes | Namespaces | Typedefs | Functions | Variables
Server/RaftConsensus.cc File Reference
#include <algorithm>
#include <fcntl.h>
#include <limits>
#include <string.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
#include "build/Protocol/Raft.pb.h"
#include "build/Server/SnapshotMetadata.pb.h"
#include "Core/Buffer.h"
#include "Core/Debug.h"
#include "Core/ProtoBuf.h"
#include "Core/Random.h"
#include "Core/StringUtil.h"
#include "Core/ThreadId.h"
#include "Core/Util.h"
#include "Protocol/Common.h"
#include "RPC/ClientRPC.h"
#include "RPC/ClientSession.h"
#include "RPC/ServerRPC.h"
#include "Server/RaftConsensus.h"
#include "Server/Globals.h"
#include "Storage/LogFactory.h"

Go to the source code of this file.

Classes

struct  LogCabin::Server::RaftConsensusInternal::anonymous_namespace{RaftConsensus.cc}::StagingProgressing
struct  LogCabin::Server::RaftConsensusInternal::anonymous_namespace{RaftConsensus.cc}::StateMachineVersionIntersection

Namespaces

namespace  LogCabin
namespace  LogCabin::Server
namespace  LogCabin::Server::RaftConsensusInternal
namespace  LogCabin::Server::RaftConsensusInternal::anonymous_namespace{RaftConsensus.cc}

Typedefs

typedef Storage::Log LogCabin::Server::Log

Functions

std::ostream & LogCabin::Server::RaftConsensusInternal::operator<< (std::ostream &os, const Server &server)
void LogCabin::Server::RaftConsensusInternal::anonymous_namespace{RaftConsensus.cc}::setGCFlag (Server &server)
std::ostream & LogCabin::Server::RaftConsensusInternal::operator<< (std::ostream &os, Configuration::State state)
std::ostream & LogCabin::Server::RaftConsensusInternal::operator<< (std::ostream &os, const Configuration &configuration)
std::ostream & LogCabin::Server::operator<< (std::ostream &os, const RaftConsensus &raft)
std::ostream & LogCabin::Server::operator<< (std::ostream &os, RaftConsensus::ClientResult clientResult)
std::ostream & LogCabin::Server::operator<< (std::ostream &os, RaftConsensus::State state)

Variables

bool LogCabin::Server::RaftConsensusInternal::startThreads
 True if this should actually spawn threads, false otherwise.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines