postgresql-10=10.5.2
на реплике запускаю
pg_basebackup -D /var/lib/postgresql/9.6/main/ -R -S slot -X stream -P -h master -U replication
после того, как БД стянулась, запускаю и получаю такие ошибки
2018-12-07 06:28:44 UTC DEBUG: registering background worker "logical replication launcher"
2018-12-07 06:28:44 UTC DEBUG: loaded library "pg_stat_statements"
2018-12-07 06:28:44 UTC DEBUG: loaded library "hstore"
2018-12-07 06:28:44 UTC DEBUG: loaded library "plpgsql"
2018-12-07 06:28:44 UTC DEBUG: loaded library "dblink"
2018-12-07 06:28:44 UTC LOG: listening on IPv4 address "0.0.0.0", port 5432
2018-12-07 06:28:44 UTC LOG: listening on IPv6 address "::", port 5432
2018-12-07 06:28:44 UTC LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2018-12-07 06:28:44 UTC DEBUG: mmap(3890216960) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory
2018-12-07 06:28:44 UTC LOG: database system was shut down in recovery at 2018-12-07 06:28:36 UTC
2018-12-07 06:28:44 UTC LOG: entering standby mode
2018-12-07 06:28:44 UTC DEBUG: checkpoint record is at 16C/BBA04D0
2018-12-07 06:28:44 UTC DEBUG: redo record is at 16C/B1BF150; shutdown FALSE
2018-12-07 06:28:44 UTC DEBUG: next transaction ID: 0:1078827754; next OID: 252316
2018-12-07 06:28:44 UTC DEBUG: next MultiXactId: 328661; next MultiXactOffset: 657456
2018-12-07 06:28:44 UTC DEBUG: oldest unfrozen transaction ID: 882878336, in database 85978
2018-12-07 06:28:44 UTC DEBUG: oldest MultiXactId: 1, in database 87290
2018-12-07 06:28:44 UTC DEBUG: commit timestamp Xid oldest/newest: 0/0
2018-12-07 06:28:44 UTC DEBUG: transaction ID wrap limit is 3030361983, limited by database with OID 85978
2018-12-07 06:28:44 UTC DEBUG: MultiXactId wrap limit is 2147483648, limited by database with OID 87290
2018-12-07 06:28:44 UTC DEBUG: starting up replication slots
2018-12-07 06:28:44 UTC DEBUG: resetting unlogged relations: cleanup 1 init 0
2018-12-07 06:28:44 UTC LOG: redo starts at 16C/B1BF150
2018-12-07 06:28:44 UTC LOG: consistent recovery state reached at 16C/BBA0540
2018-12-07 06:28:45 UTC LOG: record with incorrect prev-link 293D500/20000000 at 16C/CA288D8
2018-12-07 06:28:45 UTC LOG: started streaming WAL from primary at 16C/C000000 on timeline 1
2018-12-07 06:28:45 UTC LOG: incomplete startup packet
а с памятью на реплике точно всё ок?
вероятно что-то я этим ``2018-12-07 06:28:44 UTC DEBUG: mmap(3890216960) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory`` настройки у серверов связанные с Hugepages одинаковы?
Обсуждают сегодня