Issue upgrading from 1.172 to 1.173+ #2870
-
I have a 1.172 container running with an external postresql database. I was able to update from 1.143 all the way to 1.172, but going from 1.172 to 1.173 I don't get beyond "connected to database" in logs. Anyone else run into this? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Hi, could you paste the entire logs of all your pods/services. |
Beta Was this translation helpful? Give feedback.
-
My suspicion is that one of your container that is not among the one you're
showing is doing a migration that is slow and the other containers are
waiting on that to continue further
Le dim. 17 déc. 2023, 11:15, jdanielsonivim ***@***.***> a
écrit :
… here is dump of sqlx table
data-1702779242393.csv
<https://github.com/windmill-labs/windmill/files/13694479/data-1702779242393.csv>
—
Reply to this email directly, view it on GitHub
<#2870 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACDJAGKLPQ4JQPHGUJSPTTYJZITPAVCNFSM6AAAAABAX3IDM2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNZUGI3DK>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
After looking at the source for that version, I've narrowed the problem down to 20230914082838_relax_completed_job_constraints.up.sql just hanging when it runs. ALTER TABLE completed_job ALTER COLUMN duration_ms TYPE bigint; |
Beta Was this translation helpful? Give feedback.
-
Once you have upgraded, go to your instance settings, you will see
configurable in the core as "job retention"
Le dim. 17 déc. 2023, 13:22, jdanielsonivim ***@***.***> a
écrit :
… yeah, that's it. That table was much larger than anticipated. I had
thought it had a limit of days to keep past entries, but I can't find where
that was set, or am I'm misremembering?
—
Reply to this email directly, view it on GitHub
<#2870 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACDJAGNUMUVLRQ7AJPBQ6TYJZXQXAVCNFSM6AAAAABAX3IDM2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNZUGYZTK>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
It's not hanging, it's just executing the migration (which may take some time)
Having less jobs in completed_job table or a faster db might help