C/C++教程

polardb_consensus日志

本文主要是介绍polardb_consensus日志,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

【环境】

参考github官网方法

202机器
master:10001
dn_slave:10101
dn_learner: 11001

yum install bison flex libzstd-devel libzstd zstd cmake openssl-devel protobuf-devel readline-devel libxml2-devel libxslt-devel zlib-devel bzip2-devel lz4-devel snappy-devel python-devel -y
yum install gcc-c++

vi ~/.bashrc
export PATH="$HOME/polardb/polardbhome/bin:$PATH"
export LD_LIBRARY_PATH="$HOME/polardb/polardbhome/lib:$LD_LIBRARY_PATH"
source ~/.bashrc

touch $HOME/polardb/polardb_paxos.conf
pgxc_ctl -c $HOME/polardb/polardb_paxos.conf prepare standalone

ssh-keygen
ssh-copy-id postgres@localhost
pgxc_ctl -c $HOME/polardb/polardb_paxos.conf deploy all

【调用栈】

【日志内容】

【日志磁盘目录】

这篇关于polardb_consensus日志的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!