Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forcibly release all locks active at the time of migration [MARXAN-1091] #853

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

hotzevzl
Copy link
Member

This is so we don't risk running into a constraint violation when adding a FK reference later in the migration.

There should really be no "active" users by the time this migration runs, as there is no production environment yet, and LOFU should help the few developers and test users to keep their sessions running smoothly nevertheless.

I am not sure how wise it is to use an Unicode emoji in a PostgreSQL comment, but apparently we'll be fine with this 😇.

This is so we don't risk running into a constraint violation when adding
a FK reference later in the migration.

There should really be no "active" users by the time this migration
runs, as there is no production environment yet, and LOFU should help
the few developers and test users to keep their sessions running
smoothly nevertheless.

I am not sure how wise it is to use an Unicode emoji in a PostgreSQL
comment, but apparently we'll be fine with this 😇.
@vercel
Copy link

vercel bot commented Feb 21, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

marxan – ./app

🔍 Inspect: https://vercel.com/vizzuality1/marxan/BfG2dugJJrv6voXPysEtPm31vjPw
✅ Preview: https://marxan-git-hotfix-apimarxan-1091purge-locks-320898-vizzuality1.vercel.app

marxan-storybook – ./app

🔍 Inspect: https://vercel.com/vizzuality1/marxan-storybook/CZZLe3StFmXTcppR4HMdbg1Dns8A
✅ Preview: https://marxan-storybook-git-hotfix-apimarxan-1091pu-029a32-vizzuality1.vercel.app

@hotzevzl hotzevzl requested a review from rubvalave February 21, 2022 17:04
@hotzevzl hotzevzl merged commit dec0dc5 into develop Feb 21, 2022
@hotzevzl hotzevzl deleted the hotfix/api/MARXAN-1091_purge-locks-in-migration branch February 21, 2022 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants