-
Notifications
You must be signed in to change notification settings - Fork 71
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
[Support Ticket]: Error: running postgres migrations: ERROR go migration: "20230801093422_add_piece_tracker_miner_addr.go": failed to run go migration: pq: Timed out waiting for Alter Table #1789
Comments
Please provide details about your Yugabyte deployment.
|
|
I connected to database, some tables return data and some time out....
The Yuga GUI looks ok...shows tablets under tables |
@dgreuel2002 I wouldn't trust the GUI for now. We have seen similar behaviour on a completely broken cluster. It sounds like there is something wrong with your Yugabyte node if you cannot run a Count query. I would suggest checking out #1797 once and ensure that your deployment is correct. |
@LexLuthr @dgreuel2002, any updates here, has this issue been resolved? |
@davidd8 There has been no updates. I applied to be a part of Yugabyte slack and I didnt get the email. I just tried registering with another email address and it worked. I will submit the ticket on Yuga Slack now. |
Can we know which ALTER TABLE statement failed? Because there are 3 in the migration. |
@dgreuel2002 I am assuming you haven't started migration yet. If that is the case, then I would recommend removing the current YB deployment and doing another one from scratch. Deployment using |
@ddorian I am not sure how to see which statement failed? You want Yuga logs? This is the only message in the WARNING LOG. . @LexLuthr The migration keeps failing so i would agree that it hasn't been started yet. Just to be clear though, I went from 1.0 to 2.0 and migrated. At that point, i took deals for a solid month. Now I am trying to migrate to 2.1. Is it still safe to nuke and start from scratch if I have take some deals from boost already?!? I am a little confused here. |
@dgreuel2002 Can you please get me the result of the following query using
We can try to alter this table manually and let the migration move from this point. |
|
Can you please also get me |
|
Please run the following Postgres queries on your tables in the specified order.
|
@LexLuthr it times out on the first line
|
@ddorian Hey! Can you advise something from YB side here?
We are not able to alter the table at all. We are getting a timeout. @dgreuel2002 Can you restart your YB instance and retry? |
@LexLuthr I have restarted yuga and same result. See INFO log from yuga logs. |
@dgreuel2002 Can you try increasing |
Boost component
Boost Version
Describe the problem
boostd-data run yugabyte-migrate --hosts 127.0.1.1 --connect-string="postgresql://yugabyte:[email protected]:5433?sslmode=disable" --miner-address FXXXXXX
Error: running postgres migrations: ERROR go migration: "20230801093422_add_piece_tracker_miner_addr.go": failed to run go migration: pq: Timed out waiting for Alter Table
I am unable to migrate my DB....help.
Logging Information
Repo Steps
I am trying to migrate from 2.0.0 to 2.1.0-rc2+mainnet+git.fa9fc84
I followed steps, when i run boostd-data it tells me i need to migrate. I run the migrate and get the timeout on alter table.
The text was updated successfully, but these errors were encountered: