View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000755 | Pgpool-II | General | public | 2022-05-31 11:29 | 2022-06-16 15:03 |
| Reporter | nakamura.kenichi | Assigned To | pengbo | ||
| Priority | low | Severity | trivial | Reproducibility | always |
| Status | resolved | Resolution | open | ||
| OS | Red Hat Enterprise Linux | OS Version | 8.1 | ||
| Product Version | 4.2.9 | ||||
| Target Version | 4.2.10 | ||||
| Summary | 0000755: pgpool.conf.sample-replication の log_filename の設定値誤り | ||||
| Description | 2点報告致します。 いずれも Pgpool-II ソースファイル内リグレッションテストの実施によって確認したものです。 (1)pgpool.conf.sample-replication の log_filename の設定値誤り Pgpool-II 4.2.9 の RPM のインストールで展開される /etc/pgpool-II/pgppol.conf.sample-replication に設定値誤りがありました。 log_filename = ''pgpool-%a.log' になっています。(シングルクォーテーションが二つ連続しています) (2)【参考】Pgpool-II 4.3.2 と 4.2.9 を RPMでインストールしたバイナリファイルを 指定してリグレッションテストを実施すると、結果が failedになります。 (RPMでインストールした Pgpool-II を用いてのリグレッションテストは想定 されていないと思われますので、参考情報として報告します) ・これまでは、ログは stderr に出力されるのがデフォルトでしたが、 4.3.2 と 4.2.9 から RPMに同梱される pgpool.conf は logging_collector = on がデフォルトになったことで リグレッションテスト時のログ出力先も、/var/log/pgpool_log に変わったことによる影響です。 例えば、001.loadbalance のテストでは、 pgpool-II-4.2.9/src/test/regression/tests/001.load_balance/testdir/log/pgpool.log のログ出力内容をチェックして成否を判断しますが、チェック対象のログが /var/log/pgpool_log に 出力されるように変わったことで、成否の判断でエラーになっています。 これは、RPMでインストールした /etc/pgpool-II/pgpool.conf.sample-xxxxxx の logging_collector = off に変更してからリグレッションテストを実施することで回避できることを確認しました。 | ||||
| Tags | No tags attached. | ||||
|
|
Thank you for reporting the issues. > (1)pgpool.conf.sample-replication の log_filename の設定値誤り It is a bug. I am going to fix it. > (2)【参考】Pgpool-II 4.3.2 と 4.2.9 を RPMでインストールしたバイナリファイルを > 指定してリグレッションテストを実施すると、結果が failedになります。 > (RPMでインストールした Pgpool-II を用いてのリグレッションテストは想定 > されていないと思われますので、参考情報として報告します) If you are running regression tests using RPM packages, you need to rewrite some parameters in /etc/pgpool-II/pgpool.conf.sample-* to avoid this issue above. I will consider how to enhance pgpool_setup or regress.sh to avoid this issue above. |
|
|
> (1)pgpool.conf.sample-replication の log_filename の設定値誤り Bug fixed: https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=d2b691913f7fe8e8339e0d139183725a7c05641c |
|
|
> (2)【参考】Pgpool-II 4.3.2 と 4.2.9 を RPMでインストールしたバイナリファイルを > 指定してリグレッションテストを実施すると、結果が failedになります。 > (RPMでインストールした Pgpool-II を用いてのリグレッションテストは想定 > されていないと思われますので、参考情報として報告します) This issue is fixed: https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=7c450dba7675e149941591fb250f4e5a472a0ec3 Add "logging_collector = off" setting to pgpool.conf. ----- + echo "logging_collector = off" >> $CONF ----- This fix will be released in the next minor release scheduled on August 18th, 2022. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-05-31 11:29 | nakamura.kenichi | New Issue | |
| 2022-05-31 15:11 | pengbo | Assigned To | => pengbo |
| 2022-05-31 15:11 | pengbo | Status | new => assigned |
| 2022-05-31 15:21 | pengbo | Note Added: 0004048 | |
| 2022-05-31 15:21 | pengbo | Status | assigned => feedback |
| 2022-05-31 15:24 | pengbo | Note Added: 0004049 | |
| 2022-06-16 15:02 | pengbo | Note Added: 0004057 | |
| 2022-06-16 15:03 | pengbo | Target Version | => 4.2.10 |
| 2022-06-16 15:03 | pengbo | Status | feedback => resolved |