View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000579 | Pgpool-II | Bug | public | 2020-01-28 02:16 | 2020-04-14 13:01 |
| Reporter | giminni | Assigned To | pengbo | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Platform | Linux | OS | Alpine Linux | OS Version | 3.11.3 |
| Product Version | 4.1.0 | ||||
| Target Version | 4.1.1 | Fixed in Version | 4.1.1 | ||
| Summary | 0000579: 4.1: BUG: Follow_master_command parameter mismatch | ||||
| Description | In chapter 8.3.5.2. Failover configuration Looking at the code I found mismatched parameter at 5th, 6th and 7th position failover_command = '/etc/pgpool-II/failover.sh %d %h %p %D %m %H %M %P %r %R %N %S' follow_master_command = '/etc/pgpool-II/follow_master.sh %d %h %p %D %m %M %H %P %r %R' Please change to: follow_master_command = '/etc/pgpool-II/follow_master.sh %d %h %p %D %m %H %M %P %r %R %N %S' | ||||
| Tags | No tags attached. | ||||
|
|
Thank you for reporting this issue. It is not a bug. In follow_master.sh it is the correct parameters passed by "follow_master_command = '/etc/pgpool-II/follow_master.sh %d %h %p %D %m %M %H %P %r %R". ... OLD_MASTER_NODE_ID="$6" NEW_MASTER_NODE_HOST="$7" ... Because it is better to use the same parameter position with "failover_command", I have changed the docs and sample scripts. https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=b5db9b42478c455bc2c6784a5bd70b752c4e99bd https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3e92e5bf76ed0b07915afa369a8ea9700162c1c6 |
|
|
Fixed: https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=b5db9b42478c455bc2c6784a5bd70b752c4e99bd https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3e92e5bf76ed0b07915afa369a8ea9700162c1c6 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-01-28 02:16 | giminni | New Issue | |
| 2020-01-28 11:29 | pengbo | Note Added: 0003091 | |
| 2020-01-28 11:29 | pengbo | Assigned To | => pengbo |
| 2020-01-28 11:29 | pengbo | Status | new => feedback |
| 2020-01-28 11:29 | pengbo | Target Version | => 4.1.1 |
| 2020-04-14 13:01 | pengbo | Note Added: 0003317 | |
| 2020-04-14 13:01 | pengbo | Status | feedback => closed |
| 2020-04-14 13:01 | pengbo | Fixed in Version | => 4.1.1 |