Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-9900

Commit indexing fails to index commits on repositories with very large commit histories

      For some very large repositories, commit indexing does not index newly added commits. The commit indexing starts a git process to determine added and removed, but only waits up to 5 seconds for it to return the first commit. If no commit is found within those 5 seconds, the commit indexing aborts and does not try to index those commits again.

      On some very large repositories, it can take longer for the git command to return the first commit, and this leads to commits not being indexed. 

      The 5s timeout is a bit aggressive and should be increased. In addition a configuration property should be introduced to allow the timeout to be overridden without code changes.

            [BSERV-9900] Commit indexing fails to index commits on repositories with very large commit histories

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 2405084 ] New: JAC Bug Workflow v3 [ 3137330 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Brent P made changes -
            Link New: This issue causes BSERV-9964 [ BSERV-9964 ]
            Kristy made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]
            Kristy made changes -
            Fix Version/s New: 5.0.6 [ 72892 ]
            Fix Version/s New: 5.2.0 [ 71978 ]
            Fix Version/s New: 4.14.7 [ 72756 ]
            Fix Version/s New: 5.1.4 [ 72891 ]
            Bugfix Automation Bot made changes -
            UIS New: 4
            Michael Heemskerk (Inactive) made changes -
            Assignee New: Michael Heemskerk [ mheemskerk ]
            Michael Heemskerk (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Michael Heemskerk (Inactive) made changes -
            Component/s New: Enterprise [ 22391 ]
            Component/s Original: Enterprise [ 23690 ]
            Key Original: BSERVDEV-15644 New: BSERV-9900
            Symptom Severity New: Major [ 14431 ]
            Workflow Original: Stash Dev Bug Workflow [ 2405083 ] New: Stash Workflow - Restricted [ 2405084 ]
            Project Original: Bitbucket Server Dev [ 13710 ] New: Bitbucket Server [ 13310 ]
            Michael Heemskerk (Inactive) created issue -

              mheemskerk Michael Heemskerk (Inactive)
              mheemskerk Michael Heemskerk (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: