How long should bitbucket sync take between mirrors?

Our organization has recently set up a Bitbucket Data Center instance with 2 nodes, and 2 mirrors.

Users are reporting ~11 minute delays when pushing a branch to the master server before the equivalent refs are being created in the mirror.

The logs are not showing any errors, I cannot find anywhere that I can adjust timings, and the documentation only states that changes are sync'ed "Periodically". Does anyone know what the expected timing is?

1 answer

1 accepted

1 vote
Answer accepted

11 minutes sounds like a long time to fetch the new refs. Mirrors receive a webhook from the primary when there are changes they need to fetch, so the updates should be much faster. 

There's a synchronization job that runs every 15 minutes by default just in case a webhook was dropped or lost.
It sounds like your mirrors may not be receiving webhooks for some reason.

I recommend you open a support case and mention this question, so we can help you debug this issue further.

You need to change the default value in properties file "plugin.mirroring.synchronization.interval" to lesser time.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: More details: https://co...

78 views 1 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you