Skip to content

Commit

Permalink
fix: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
longfar-ncy committed Sep 29, 2024
1 parent ff2f9db commit 5245b11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/base_cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

#include "base_cmd.h"

#include "pstd/log.h"
#include "praft/praft.h"
#include "pstd/log.h"

#include "config.h"
#include "pikiwidb.h"
Expand Down
4 changes: 2 additions & 2 deletions src/praft/praft.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ class PRaft : public braft::StateMachine {

scoped_refptr<braft::FileSystemAdaptor> snapshot_adaptor_ = nullptr;
ClusterCmdContext cluster_cmd_ctx_{this}; // context for cluster join/remove command
std::string group_id_; // group id
int db_id_ = 0; // db_id
std::string group_id_; // group id
int db_id_ = 0; // db_id

bool is_node_first_start_up_ = true;
};
Expand Down

0 comments on commit 5245b11

Please sign in to comment.