diff --git a/src/praft/praft.h b/src/praft/praft.h index 4ebec277..f31e5fdc 100644 --- a/src/praft/praft.h +++ b/src/praft/praft.h @@ -166,8 +166,8 @@ class PRaft : public braft::StateMachine { scoped_refptr 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; };