-
Bug
-
Resolution: Fixed
-
High (View bug fix roadmap)
-
8.13.1, 8.20.1
-
8.13
-
61
-
Severity 2 - Major
-
42
-
-
Issue Summary
Repository syncing having huge commits keeps syncing for days without any progress. Needs restart to flush the state and get the new updates. It appears as if it is not doing anything just refresh icon on the UI keep rotating.
Steps to Reproduce
- Enable DVCS account and configure it with huge organization or repos having hight number of commit activity.
- Keep it syncing.
`Expected Results
- Sync started for the repo in discussion should end in desired period of time.
Actual Results
- It keeps of on syncing with like how it appears in the UI:
- It does not get recent commits/PRs to Jira issues altogether within this period until servers restarted.
Workaround
There is no easy workaround for it except server restart. We are working to find out ways to flush the cache programatically. Will need a feature request for that. UPDATE: as of 8.13.11, there is an internal REST method for aborting sync for a given repo:
POST <JIRA_BASE_URL>/rest/dvcs-connector-internal/1.0/repository/{id}/abortRunningSync
Authentication: Basic Authentication with the username/password of a Jira Admin user
One way to run this API call is to:
- Install the add-on Atlassian REST API Browser from ⚙ > Manage-Apps > Manage-Apps
- Type g+g and search for "REST API Browser"
- Once on the page "REST API Browser", untick the option "how only public APIs", search for "abortRunningSync", and click on the only API endpoint returned by the search:
- Disable/Enable the plugin to clear progressMap cache entirely, which has progress info of this and all repository in sync. But this is too hectic as it has 41 components as of 8.13.
Long Term Suggestion for customers who upgraded from Jira 8.13.x and below to Jira 8.14.0 and above
In Jira 8.14.0, a more efficient way to sync repositories from a Version Control System (VCS) such as Github, Bitbucket and Gitlab was introduced in the the DVCS module. This new method involves using a new type of webhooks pointing to the Jira application, and used by the VCS repositories.
For any repository that was added in Jira > ⚙ > Applications > DVCS Accounts before the upgrade to Jira 8.14+, such repository will keep using the old type of webhook even after the Jira upgrade. In other word, the Jira upgrade to 8.14+ will not automatically migrate the webhooks to the new type. Because of that, it is necessary to re-create all these webhooks (by removing and re-adding manually each repository on the Jira side), in order to ensure that the non-polling webhook type is used.
We would like to encourage our customers who upgraded from Jira 8.13.x and below to Jira 8.14.0 and above, and who already had repositories in Jira before the upgrade, to follow the steps from the KB article Improving the DVCS sync performance by migrating old webhooks to the new format to make sure that the new type of webhook is in use.
- is duplicated by
-
JSWSERVER-21359 DVCS Full synchronisation of repository is stuck
-
- Closed
-
- is related to
-
JSWSERVER-21359 DVCS Full synchronisation of repository is stuck
-
- Closed
-
-
JSWSERVER-21378 DVCS Repository synchronisation is stuck because of SLEEPING messages on queue
-
- Short Term Backlog
-
-
JSWSERVER-26351 DVCS: Support Commit Bulk Fetching in Bitbucket cloud
- Gathering Interest
-
ACE-588 Failed to load
- links to
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- relates to
-
FLASH-3781 Loading...
-
THOR-67 Loading...
Form Name |
---|
Bulk commit has been implemented for GitHub (Cloud & Enterprise) to make sync faster.
By default soft sync is enabled for bulk.
Details: https://hello.atlassian.net/wiki/spaces/~712020c5287db23cbe4322bc0cddfb17377b79/pages/4297462773/DVCS+Scalability+-+Process+Commits+In+Bulk+During+Sync