Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-59122

repeated blocked index build messages in logs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2021-08-09
    • Linked BF Score:
      52

      Description

      In SERVER-47155, a createIndex command waits for the number of concurrent index builds to fall below a certain limit before proceeding. The log message "Too many index builds running simultaneously, ..." is used to indicate that the index build is blocked.

      Due to the placement of this log message within the predicate provided to conditional variable, this log message may be printed multiple times depending on how often the Interruptible class evaluates the predicate or wakes up from a sleep.

      In some cases, we have observed this log message printed as many as four times within the same millisecond before the condition variable starts the second phase of its wait logic.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              benety.goh Benety Goh
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: