> (you don't have to strictly follow this form)

**Use case**

Support manually snapshot for Keeper.

**Describe the solution you'd like**

Throught 4lw commands, such as `csnp`.


break;
            }
            case nuraft::cb_func::NewConfig:
            {
                
                
                
                
                
                uint64_t log_idx = *static_cast<uint64_t *>(param->ctx);
                auto config = state_manager->load_config();
                if (log_idx == config->get_log_idx())
                {
                    raft_instance->forceReconfigure(config);
                    
                    
                    
                    if (config->get_servers().size() == 1)
                        finish_recovering();
                }
                break;
            }
            case nuraft::cb_func::ProcessReq:
                
                
                return nuraft::cb_func::ReturnCode::ReturnNull;
            default:
                break;
        }
    }