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

False success message during v1 -> v2 upgrade #7690

Open
zee-hussain opened this issue Oct 15, 2021 · 0 comments
Open

False success message during v1 -> v2 upgrade #7690

zee-hussain opened this issue Oct 15, 2021 · 0 comments
Labels
c/cli Related to CLI k/bug Something isn't working t/product-platform

Comments

@zee-hussain
Copy link

Version Information

Server Version: 1.3.2 -> 2.0.9
CLI Version (for CLI related issue): 2.0.9

Environment

OSS

What is the expected behaviour?

Hasura should output errors or issues when they occur during migrations and metadata application

What is the current behaviour?

Hasura cli-migrations-v3 image incorrectly stated that metadata was applied and reloaded successfully, when in reality the sql statements hit statement timeout and did not complete.

How to reproduce the issue?

  1. Run v2.0.9 cli-migrations-v3 image against a db that contains hasura 1.3.2 metadata, set the statement timeout low and see if it logs an error when it reaches statement timeout

Screenshots or Screencast

cli-migrations-v3 image logs:
cli-migrations-v3 image logs
Note the "error" logs shown above are benign requests similar to the ones in this issue #3734

Postgres Logs:
Postgres Logs

@zee-hussain zee-hussain added the k/bug Something isn't working label Oct 15, 2021
@rikinsk rikinsk added the c/cli Related to CLI label Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI k/bug Something isn't working t/product-platform
Projects
None yet
Development

No branches or pull requests

3 participants