Skip to content

Wakapi stuck at 20231023-fill_last_branch migration after update to 2.9.3 #551

Answered by muety
Kovah asked this question in Q&A
Discussion options

You must be logged in to vote

And how many entries do you have in your heartbeats table? As already mentioned in the code, the migration is implemented in a super inefficient way where it iterates through every single heartbeat one by one. So depending on the data volume, it might well take a couple of hours. I can't think of a way where the migration gets "stuck" in idle. To see if the migration is still running, you could check the active database queries like so:

MySQL

show processlist

Postgres

select * from pg_stat_activity;

I'd probably just let it run overnight. Sorry for that.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@muety
Comment options

Answer selected by Kovah
@muety
Comment options

@Kovah
Comment options

@Kovah
Comment options

@Kovah
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants