Fix more warnings

This commit is contained in:
alesapin 2021-01-26 14:10:44 +03:00
parent 45192a2ef2
commit e8a320cfd0
3 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public:
bool flush() override { return true; }
private:
std::map<ulong, nuraft::ptr<nuraft::log_entry>> logs;
std::map<size_t, nuraft::ptr<nuraft::log_entry>> logs;
mutable std::mutex logs_lock;
std::atomic<size_t> start_idx;
};

View File

@ -1,5 +1,6 @@
#include <Coordination/SummingStateMachine.h>
#include <iostream>
#include <cstring>
namespace DB
{

View File

@ -24,7 +24,7 @@ public:
struct Node
{
String data;
Coordination::ACLs acls;
Coordination::ACLs acls{};
bool is_ephemeral = false;
bool is_sequental = false;
Coordination::Stat stat{};