Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-1945

getPathsUpdatesFrom() got its boolean logic inversed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 2.0.0
    • None
    • Sentry
    • None

    Description

      Sentry-1919 introduced the following code in getPathsUpdatesFrom():

          if (pathsRetrieverBusy.compareAndSet(false, true)) {
            LOGGER.debug("PATHS updates are not available because another request is in progress.");
            return Collections.emptyList();
          }
      

      It is easy to see that the code check is inversed and we are doing quite the opposite of what we want to do.

      Attachments

        Issue Links

          Activity

            People

              spena Sergio Peña
              akolb Alex Kolbasov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: