Git Product home page Git Product logo

heroku-pgmigrate's Issues

confirm outcome of ps:scale before migrating

We do not check for convergence whereby psmgr confirms the non-existence of processes before continuing the migration process. Thus, quiescence may not be complete. (Note: in the case of two applications sharing a database, it won't be complete anyway)

Ambiguous phrasing: Leaving maintenance mode on…

The final line of output:

Leaving maintenance mode on application APP_NAME... done

I initially read this as "Leaving maintenance mode turned on …", and thought it was a warning that I would need to turn it off myself.

Perhaps one of these would be clearer?

Turning off maintenance mode for APP_NAME... done
Exiting maintenance mode on application APP_NAME... done
Leaving maintenance mode for application APP_NAME... done

Cheers,
Paul

pg transfer failure

From @fdr:

the cause of such failures is so mysterious that it doesn't make sense to know whether to retry or not?

heroku pg:migrate -a bestdamnburger-production
Checking for pgbackups addon... done, already present
Installing heroku-postgresql:dev... done, attached as HEROKU_POSTGRESQL_COBALT
Entering maintenance mode on application bestdamnburger-production... done
Scaling process web to 0... done
WARNING: 'heroku run' processes are not cancelled at this time
Transferring... 
Pg_dump... 68.4kB -
ERROR: Transfer failed, aborting
Restoring process web scale to 1... done
Leaving maintenance mode on application bestdamnburger-production... done

Trying a second time worked:

heroku pg:migrate -a bestdamnburger-production
Checking for pgbackups addon... done, already present
Installing heroku-postgresql:dev... done, attached as HEROKU_POSTGRESQL_BROWN
Entering maintenance mode on application bestdamnburger-production... done
Scaling process web to 0... done
WARNING: 'heroku run' processes are not cancelled at this time
Transferring... 
Pg_dump... 68.4kB -
done
Binding new database configuration to: SHARED_DATABASE_URL, DATABASE_URL... done
Restoring process web scale to 1... done
Leaving maintenance mode on application bestdamnburger-production... done

Shouldn't require a pgbackups slot

Got this once:

Transferring...
! must delete a backup before creating a new one

Would be nice if you could avoid this check for transfers?

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.