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

Prevent JSThread exceptions in concurrency suite when global db is undefined

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: 3.1.6
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 7 08/10/15

      The concurrency suite will print out these JSThread exceptions when a global db variable is undefined:

      js thread raised js exception: EmptyArrayOperation ReferenceError: assignment to undeclared variable db
      

      This is because guardedThreadFn in fsm_libs/thread_mgr.js unconditionally assigns null to db to aid garbage collection.

            Assignee:
            kamran.khan Kamran K.
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: