PostgreSQL volume support default value might be switched to False

Bug #1395266 reported by Denis M.
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Invalid
Undecided
Sonali Goyal

Bug Description

Many installations create database clusters or instances on network file systems. Sometimes this is done directly via NFS, or by using a Network Attached Storage (NAS) device that uses NFS internally. PostgreSQL does nothing special for NFS file systems, meaning it assumes NFS behaves exactly like locally-connected drives (DAS, Direct Attached Storage). If client and server NFS implementations have non-standard semantics, this can cause reliability problems (see http://www.time-travellers.org/shane/papers/NFS_considered_harmful.html). Specifically, delayed (asynchronous) writes to the NFS server can cause reliability problems; if possible, mount NFS file systems synchronously (without caching) to avoid this. Also, soft-mounting NFS is not recommended. (Storage Area Networks (SAN) use a low-level communication protocol rather than NFS.)

Since cinder can do remote volume attachment, it'll be much safer, if we'd switch default value for postgresql volume_support to False. And let Trove deployer explicitly say that postgresql should work with volumes.

Changed in trove:
assignee: nobody → Sonali Goyal (sonaligoyal654321)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/229270

Changed in trove:
status: New → In Progress
Revision history for this message
Amrith Kumar (amrith) wrote :

I'm marking this bug as Invalid (in preference to opinion) because the argument being made here could equally be well made for any database.

The default (except for something like Redis which by default is intended to be a cache) of True makes sense for most databases.

Also, changing the default to false at this time could have implications for all deployments that have already deployed Trove with PostgreSQL!

Changed in trove:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove (master)

Change abandoned by Craig Vyvial (<email address hidden>) on branch: master
Review: https://review.openstack.org/229270
Reason: Abandoning this review as no activity for a month and the fact that we've determined this is bug is invalid.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.