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

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

    XMLWordPrintable

    Details

      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Backbone Issue Sync

                • Synchronized with BBSJAC
                  Synced with:
                  BBSJAC-612
                  Issue sync status:
                  UP TO DATE
                  Last received:
                  Last sent: