Skip to content

Commit

Permalink
tmp fix log core
Browse files Browse the repository at this point in the history
  • Loading branch information
unixliang committed Sep 14, 2017
1 parent fd10730 commit 1cc429a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phxqueue/lock/lock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ comm::RetCode Lock::PaxosInit(const string &mirror_dir_path) {
opts.oMyNode.SetIPPort(impl_->opt.ip, impl_->opt.paxos_port);
opts.bUseMembership = false;
opts.sLogStoragePath = nodedb_dir_path;
opts.pLogFunc = comm::LogFuncForPhxPaxos;
//opts.pLogFunc = comm::LogFuncForPhxPaxos;

opts.bUseCheckpointReplayer = true;
opts.iSyncInterval = topic_config->GetProto().topic().lock_paxos_fsync_interval();
Expand Down
2 changes: 1 addition & 1 deletion phxqueue/store/store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ comm::RetCode Store::PaxosInit() {
opts.oMyNode.SetIPPort(impl_->opt.ip, impl_->opt.paxos_port);
opts.bUseMembership = false;
opts.sLogStoragePath = nodedb_dir_path;
opts.pLogFunc = comm::LogFuncForPhxPaxos;
//opts.pLogFunc = comm::LogFuncForPhxPaxos;

opts.bUseCheckpointReplayer = false;
opts.iSyncInterval = topic_config->GetProto().topic().store_paxos_fsync_interval();
Expand Down

0 comments on commit 1cc429a

Please sign in to comment.