git: User was holding a relation lock for too long

Screen Shot 2016-06-16 at 10.06.11 AM
If you encountered this error while pushing your recent change to your git repo, worry not. You’re not alone. Just recently, like a few minutes ago, I’m having trouble pushing my latest commit to my Bitbucket repo. Good thing I found out that it’s just a bitbucket issue, not really an issue with my repo or with my server or with my localhost.

Below is the exact error I’m getting while trying to push my latest commits:
remote: canceling statement due to conflict with recovery
remote: LINE 1: …er”.”date_joined” FROM “bb_repository” INNER JOIN “auth_user…
remote: DETAIL:  User was holding a relation lock for too long.
! [remote rejected] master -> master (pre-receive hook declined)

I actually tried pushing it again and again, switch branches, cloned a new repo, but no can do. Nothing I tried worked, it’s because Bitbucket is having issues, not me. Haha!

Let’s just wait for Bitbucket to fix the issue and not panic.


Comments

One response to “git: User was holding a relation lock for too long”

  1. Same here! How are you posting from the future? Aussie?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.