ApsaraDB / PolarDB-for-PostgreSQL

A cloud-native database based on PostgreSQL developed by Alibaba Cloud.
https://apsaradb.github.io/PolarDB-for-PostgreSQL/zh/
Apache License 2.0
2.91k stars 488 forks source link

docs: update CentOS 7 install guide #490

Closed mrdrivingduck closed 8 months ago

polardb-bot[bot] commented 8 months ago

Hi @mrdrivingduck ~ Thanks for your contribution in this PR. ❤️

Please make sure that your PR conforms the standard, and has passed all the checks.

We will review your PR as soon as possible.

polardb-bot[bot] commented 8 months ago

Hey @mrdrivingduck :

Something wrong occuried during the checks of your commit 😟, please check the detail:

⚠️ build_dma (centos7, dma) View more details
⚠️ regression (DMA) View more details :warning: Not enough compute credits to prioritize tasks! :white_check_mark: 03:59 clone :x: 03:28 main ```console polar_monitor_cgroup.c: In function ‘get_cfs_quota’: polar_monitor_cgroup.c:373:21: warning: ‘cpu/cpu.cfs_quota_us’ directive writing 20 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 373 | sprintf(path, "%s%scpu/cpu.cfs_quota_us", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c:373:2: note: ‘sprintf’ output 21 or more bytes (assuming 1044) into a destination of size 1024 373 | sprintf(path, "%s%scpu/cpu.cfs_quota_us", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function ‘get_rt_period’: polar_monitor_cgroup.c:381:21: warning: ‘cpu/cpu.rt_period_us’ directive writing 20 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 381 | sprintf(path, "%s%scpu/cpu.rt_period_us", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c:381:2: note: ‘sprintf’ output 21 or more bytes (assuming 1044) into a destination of size 1024 381 | sprintf(path, "%s%scpu/cpu.rt_period_us", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile:27: warning: overriding recipe for target 'installcheck' ../../src/makefiles/pgxs.mk:403: warning: ignoring old recipe for target 'installcheck' The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are enabled. Data encryption using aes-256 is enabled. fixing permissions on existing directory /home/postgres/tmp_master_dir_polardb_pg_1100_bld ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default timezone ... UTC selecting dynamic shared memory implementation ... posix creating configuration files ... ok running bootstrap script ... 2024-03-12 10:18:24.620 UTC [16259] [16259] LOG: The total log index memory table size is 402525536 2024-03-12 10:18:24.620 UTC [16259] [16259] LOG: The total log index memory table size is 133987136 2024-03-12 10:18:24.624 UTC [16259] [16259] LOG: server cannot reuse buffer pool due to polar_shmem_reused is false, start to reset buffer pool 2024-03-12 10:18:24.624 UTC [16259] [16259] LOG: server cannot reuse buffer pool, start to reset it, pid=16259 2024-03-12 10:18:24.625 UTC [16259] [16259] LOG: The total log index memory table size is 402525536 2024-03-12 10:18:24.858 UTC [16259] [16259] LOG: rename pg_logindex to local cache trash polar_cache_trash/pg_logindex_0000, errno=0 2024-03-12 10:18:24.858 UTC [16259] [16259] LOG: The total log index memory table size is 133987136 2024-03-12 10:18:24.858 UTC [16259] [16259] LOG: rename polar_fullpage to local cache trash polar_cache_trash/polar_fullpage_0000, errno=0 2024-03-12 10:18:24.867 UTC [16259] [16259] LOG: removing file "pg_notify/0000" 2024-03-12 10:18:24.883 UTC [16259] [16259] FATAL: openssl 1.1.0 or higher is required for cluster encryption 2024-03-12 10:18:24.883 UTC [16259] [16259] BACKTRACE: /home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/postgres(ossl_encrypt_data+0) [0x8775f8] /home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/postgres(ossl_wrap_key+0x9c) [0x8779cc] /home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/postgres() [0x876608] /home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/postgres(BootStrapKmgr+0xcc) [0x877274] /home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/postgres(BootStrapXLOG+0x3f0) [0x56f660] /home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/postgres(AuxiliaryProcessMain+0x5dc) [0x5ae604] /home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/postgres(main+0x6a8) [0x4cf1c8] /lib64/libc.so.6(__libc_start_main+0xf0) [0xf9aadf99a724] /home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/postgres() [0x4cf654] child process exited with exit code 1 initdb: removing contents of data directory "/home/postgres/tmp_master_dir_polardb_pg_1100_bld" ```
polardb-bot[bot] commented 8 months ago

Hey @mrdrivingduck :

Congratulations~ 🎉 Your commit has passed all the checks. Please wait for further manual review.

mrdrivingduck commented 8 months ago

/rebase-and-merge

polardb-bot[bot] commented 8 months ago

@mrdrivingduck PR has been merged. 🍗

Thanks again for the contributors involved in this thread: ❤️