GithubHelp home page GithubHelp logo

Comments (5)

t-matsuo avatar t-matsuo commented on July 18, 2024

It's specification and it's described in meta-data.

But if many people face it, I'll consider avoiding it.

from resource-agents.

dmuhamedagic avatar dmuhamedagic commented on July 18, 2024

@t-matsuo, is this the meaning of the rep_mode parameter:

rep_mode (string, [none]):
Replication mode may be set to "async" or "sync". Both require PostgreSQL 9.1 or later.
Once set, this parameter requires node_list, master_ip, and restore_command parameters,
as well as configuring postgresql for replication (in postgresql.conf and pg_hba.conf).

Would you accept the above as replacement?


Otherwise, you can relatively easily drop the line:

rep_mode_stg="include '$REP_MODE_CONF' # added by pgsql RA"
if fgrep -q "$rep_mode_stg" $OCF_RESKEY_config; then
sed -i "/$rep_mode_stg/d" $OCF_RESKEY_config
fi

Probably better than explaining stuff to users ;-)

P.S. The above code is absolutely untested. Recommend to put such a long string in a var rather than repeating it.

from resource-agents.

t-matsuo avatar t-matsuo commented on July 18, 2024

Sorry about the late reply.
I'll take latter.

I'll make a patch and send a pull request.

from resource-agents.

t-matsuo avatar t-matsuo commented on July 18, 2024

Could anyone close this issue ?

from resource-agents.

kskmori avatar kskmori commented on July 18, 2024

Closing as #167 has merged.

from resource-agents.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.