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

Remove assert on log pattern in currentop_shell.js

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • v8.0
    • 0

      currentop_shell.js has an assert

       

          if (shouldTruncate) {
              assert(testLogPattern(db, /will be truncated/));
          }
       
      

      That may fail if too many errors (caused by another thread) get logged, and push the message we test for out of the log.

      Since this is not testing any specific server functionality, and is unstable, the solution is to remove the assert.

       

            Assignee:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Reporter:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: