Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

If clone from mirror guarantees that data is always latest on ideal condition

Deleted user August 16, 2018

Hi,

We are thinking of setting up some mirrors for our jenkins builds and users. We have a webhook that fires from bitbucket to jenkins anytime there is a commit and does the build which is immediate.

Now during the build when cloning happens through mirror if mirror always makes sure to have the latest code or there are chances it may not have it in ideal conditions

2 answers

0 votes
Deleted user August 30, 2018

Thanks for the clarification

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 17, 2018

Hi Aditya,

When a push is made to a primary server, the primary server notifies the mirror, and the mirror then begins pulling the changes from the primary server. While this usually happens fairly quickly, there is always going to be some delay, not least dependent on the speed of the connection between the primary and the server and the amount of data to be synchronized.

Therefore it's possible that your build may not run with the latest commit if it is triggered immediately once a push to primary has finished and the build is configured to pull from a mirror.

Cheers,

Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events