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

Logging event thread stack traces may log threads multiple times

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.5.0
    • 3.4.0
    • Supportability
    • None

    Description

      When an asynchronous event can't be queued for dispatch because the queue is full, stack traces are logged for all of the event threads to show what they were doing. It appears there are some subtle race conditions in that handling which can lead to some threads not being logged at all, and others being logged multiple times.

      Additionally, since event handlers can raise other events, it's possible for the rejection that triggers logging to occur on an event thread, in which case that thread is delayed from handling other events until it finishes logging what the other event threads are doing.

      Attachments

        Issue Links

          Activity

            People

              bturner Bryan Turner (Inactive)
              bturner Bryan Turner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: