Issues Viewing Repository Commits And Branches
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
No commits appear on the repository commits page. Additionally, repository branch listings take a long time or may not display at all in the Bitbucket Cloud UI.
Environment
Bitbucket Cloud.
Diagnosis
- Access the repository and verify if commits are visible on the commits page.
- Attempt to list the branches of the repository.
Cause
The inability to see commits and branches in the Bitbucket repository can stem from several factors, including:
- Data inconsistencies, such as orphaned or corrupted objects, within the repository.
- Storage inefficiencies are caused by accumulated unused data or unreferenced branches.
- Internal database or indexing problems affect the retrieval of commit and branch information.
Solution
To resolve the issue, contact the Bitbucket Cloud Support team to execute Garbage Collection on the repository.
The Garbage Collection process will:
- Clean up orphaned or corrupted objects within the repository.
- Remove unused or unreferenced branches impacting the branch listing.
- For optimal performance, keep the total number of branches and tags below 1500. Bitbucket Cloud cannot guarantee reliable performance for repositories that exceed this limit. The development team is working on this issue through. Progress can be followed through this public bug.
- Rebuild the internal database or indexes to ensure accurate commit and branch information retrieval.
Running garbage collection will eliminate data inconsistencies, optimize storage, and ensure the proper display of commits and branches.