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

`Set failpoint` server log doesn't contain configureFailPoint mode.times value.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Logging
    • Labels:
      None

      Description

      When I configure the below failpoint on driver side:

       

      {
          "configureFailPoint": "failCommand",
          "mode": {
              "times": 1   // pay attention here
          },
          "data": {
              "failCommands": ["ping"],
              "appName": "app",
              "blockConnection": true,
              "blockTimeMS": 1000
          }
      }

      with times : 1, I would expect this value in the server log too, but it doesn't happen.

       

      The actual log content is:

       

      {
          "t": {
              "$date": "2020-09-16T02:38:33.175+03:00"
          },
          "s": "W",
          "c": "CONTROL",
          "id": 23829,
          "ctx": "conn3",
          "msg": "Set failpoint",
          "attr": {
              "failPointName": "failCommand",
              "failPoint": {
                  "mode": 3,
                  "data": {
                      "failCommands": ["ping"],
                      "appName": "app",
                      "blockConnection": true,
                      "blockTimeMS": 1000
                  },
                  "timesEntered": 0
              }
          }
      } 

      Is it a expected?

       

        Attachments

          Activity

            People

            Assignee:
            backlog-server-servicearch Backlog - Service Architecture
            Reporter:
            dmitry.lukyanov Dmitry Lukyanov
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: