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

Escape double quotes in hang analyzer's waitsfor graph

    • Fully Compatible
    • v4.0
    • STM 2018-10-22
    • 1

      Double quotes are not always escaped right now. See this failure for an example.

      # Legend:
      #    Thread 1 -> Lock 1 indicates Thread 1 is waiting on Lock 1
      #    Lock 2 -> Thread 2 indicates Lock 2 is held by Thread 2
      # No cycle detected in the graph
      digraph "mongod+lock-status" {
          ""conn41" (Thread 0x7f63bf32b700 (LWP 71045))" -> "Lock 0x7f63df74db00 (mongo::MODE_X)";
          "Lock 0x7f63df74db00 (mongo::MODE_X)" -> ""rsSync-0" (Thread 0x7f63bc818700 (LWP 69184))";
          ""repl writer worker 10" (Thread 0x7f63b460b700 (LWP 69197))" -> "Lock 0x7f63df74db00 (mongo::MODE_X)";
          ""clientcursormon" (Thread 0x7f63c2f31700 (LWP 68966))" -> "Lock 0x7f63df74db00 (mongo::MODE_X)";
          ""conn41" (Thread 0x7f63bf32b700 (LWP 71045))" [label="\"conn41\" (Thread 0x7f63bf32b700 (LWP 71045))" ]
          "Lock 0x7f63df74db00 (mongo::MODE_X)" [label="Lock 0x7f63df74db00 (mongo::MODE_X)" ]
          ""rsSync-0" (Thread 0x7f63bc818700 (LWP 69184))" [label="\"rsSync-0\" (Thread 0x7f63bc818700 (LWP 69184))" ]
          ""repl writer worker 10" (Thread 0x7f63b460b700 (LWP 69197))" [label="\"repl writer worker 10\" (Thread 0x7f63b460b700 (LWP 69197))" ]
          ""clientcursormon" (Thread 0x7f63c2f31700 (LWP 68966))" [label="\"clientcursormon\" (Thread 0x7f63c2f31700 (LWP 68966))" ]
      }
      

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: