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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 7.9.1, 7.10.0
    • Affects Version/s: 7.9.0
    • Component/s: Git Hosting
    • None
    • Severity 2 - Major

      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

            Assignee:
            Frank Doherty
            Reporter:
            Frank Doherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: