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

Tag / commit indexing for annotated tags does not terminate the git process cleanly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 7.9.1, 7.10.0
    • 7.9.0
    • Git Hosting
    • None

    Description

      Issue Summary

      Tag / commit indexing running on a repository that contains annotated tags does not terminate the git process cleanly, and the process is only closed when the command times out.

      Steps to Reproduce

      Standard tag / commit indexing running on a repository that contains annotated tags

      Expected Results

      The git process (git cat-file --batch) should terminate cleanly.

      Actual Results

      The git process (git cat-file --batch) does not terminate cleanly, and is only closed when the command times out (up to 60 seconds later, by default).
      Until the process times out it can be seen by running a command such as "ps -ef | grep git" on the server node:

      1283 44503 44191   0  1:57pm ??         0:00.00 /usr/local/bin/git cat-file --batch
      

      At DEBUG levels the below message will appear in the application log file:

      2021-01-06 13:42:43,233 DEBUG [nio-pump:thread-8]  c.a.b.i.p.nu.NioNuProcessHandler [/usr/local/bin/git cat-file --batch]: Dropping callback invocation (Canceled: false; Timed out: true)
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            fdoherty@atlassian.com Frank Doherty
            fdoherty@atlassian.com Frank Doherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Backbone Issue Sync