Comments (7)
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.
@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.
@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.
This looks like this could work for our use case.
from postgres-release.
@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.
@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.
Closing the issue since v27 is available.
Please reopen if you still see issues.
from postgres-release.
Related Issues (20)
- what role to use in service-broker to connect with postgres service ? HOT 5
- How do I run PGATS on bosh-lite? HOT 4
- Upgrading stemcell for postgres release (v28) vm resulted in data loss HOT 10
- bbr-postgres-db not being installed HOT 5
- How do i add config for streaming replication. HOT 3
- postgres 9.6.11 is out HOT 3
- Upgrade to Postgres 11.3 once it's out HOT 6
- how to make this postgres as a service broker with my native Cloud Foundry? HOT 3
- db buffer vales hardcoded HOT 2
- add the single-transaction option in restore HOT 5
- Prometheus upgrade from 23.3.0 to 26.2.0 - DB Start Failed HOT 9
- Please complete the Cloudfoundry Component Log Timestamp Audit - as per: CF-RFC#030 HOT 3
- Is there a plan to get to Postgres Version 12 or 13? HOT 5
- roles.sq.erb has a bug. HOT 3
- upgrade to postgres 13. HOT 1
- upgrade to postgres 13. HOT 5
- Upgrade to Postgres 12 HOT 8
- Upgrading to v45 fails during pre-start HOT 3
- could not open shared memory segment error in v46 HOT 4
- [Feature] Add the possiblity to specify the used PostgreSQL version HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgres-release.