GithubHelp home page GithubHelp logo

Comments (7)

cf-gitbot avatar cf-gitbot commented on May 28, 2024

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/155047266

The labels on this github issue will be updated when the story is started.

from postgres-release.

valeriap avatar valeriap commented on May 28, 2024

@chhhavi
Thanks for reporting it.
We did this change to fix an issue related to not reporting back an error in creating/updating roles and databases. The monit job is currently linked directly to the PostgreSQL status, behaviour that I would prefer not to change, and eventual failures in the control job after the PostgreSQL start were ignored. Considering that this action is not needed at each start but only after a deployment, the post-start looked as the good place.
But I got your concern that it's related to colocating the postgres job with the client that uses it and we will take this scenario into account.

from postgres-release.

valeriap avatar valeriap commented on May 28, 2024

@chhhavi
We are currently working on a feature that introduces hooks that are invoked before and after postgreSQL start and stop.
The post-start hook could be used to create the databases and roles earlier.
Would the usage of this hook be sufficient for your use case?

from postgres-release.

chhhavi avatar chhhavi commented on May 28, 2024

This looks like this could work for our use case.

from postgres-release.

vito avatar vito commented on May 28, 2024

@valeriap Will using the new feature require people using this release to configure something in order to support co-location? Or will this be back to working as it did before by default?

from postgres-release.

valeriap avatar valeriap commented on May 28, 2024

@vito we went further on this issue and we introduced a new monit process dedicated to roles and db creation. See commit.
With this new process no additional configuration is needed for co-location.
We will bump a new release with this change soon.

from postgres-release.

valeriap avatar valeriap commented on May 28, 2024

Closing the issue since v27 is available.
Please reopen if you still see issues.

from postgres-release.

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.