goose icon indicating copy to clipboard operation
goose copied to clipboard

feature: show periodic output for long running migrations

Open mfridman opened this issue 3 years ago • 1 comments

I found myself running more complicated queries with goose. Some migrations take upward of ~30min to run.

It'd be nice if goose supported, either as default or opt-in, the option to periodically output something that a long-running migration is still in progress. This would give confidence that all the bits and pieces between goose, the database and whatever environment it is being run in is okay.

A word of caution, this might seem "spammy" so probably opt-in with a sane (maybe configurable) duration. 30s or 1 min.

This is very similar to https://github.com/hashicorp/terraform/pull/6163

mfridman avatar May 01 '22 01:05 mfridman

1min sounds very reasonable; not spammy imho

I'm all for doing this by default instead of introducing extra configuration

VojtechVitek avatar May 02 '22 08:05 VojtechVitek