dalibo / pgsql-resource-agent

Simple Pacemaker OCF Agent for two PostgreSQL servers in streaming replication
Other
11 stars 4 forks source link

perl pgsqlms - Avoid updating "lsn_diff" parameter during monitor #6

Closed mrimbault closed 8 years ago

mrimbault commented 9 years ago

In sub _check_lsn_diff, the "lsn_diff" attribute value is set for the standby nodes, but this attribute will only be used during promotion, and its value will be computed again during the "pre-promote", so this step could probably be skipped.

ioguix commented 8 years ago

done in f6e024b774608ec4a1b8439f220c464449495e10