Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-49791

SystemEventLogs: Remove failover_reason field from hard failover event

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • No

    Description

      Build: 7.1.0-1787

      Graceful failover event doesn't contain 'failover_reason' field.

      The same is present in "Hard failover event" as empty dict.

      Manual graceful failover event:

          {
            "timestamp": "2021-11-26T08:45:03.973Z",
            "event_id": 6,
            "component": "ns_server",
            "description": "Graceful failover initiated",
            "severity": "info",
            "node": "172.23.105.155",
            "uuid": "4ce9d15c-5be9-4c74-a8f3-942403683aaa",
            "extra_attributes": {
              "nodes_info": {
                "active_nodes": [
                  "ns_1@172.23.105.155",
                  "ns_1@172.23.105.211",
                  "ns_1@172.23.105.212",
                  "ns_1@172.23.105.213"
                ],
                "failover_nodes": [
                  "ns_1@172.23.105.213"
                ],
                "master_node": "ns_1@172.23.105.155"
              },
              "operation_id": "3fb8f60066f271a538219d78053168a7"
            }
          },

      Hard failover event:

      {
            "timestamp": "2021-11-26T08:45:49.887Z",
            "event_id": 10,
            "component": "ns_server",
            "description": "Hard failover initated",
            "severity": "info",
            "node": "172.23.105.155",
            "uuid": "09e0725d-74c8-4ab7-8e04-b1dd321f72f6",
            "extra_attributes": {
              "operation_id": "40955a63fc9a70cf7b390bdb271202d5",
              "nodes_info": {
                "active_nodes": [
                  "ns_1@172.23.105.155",
                  "ns_1@172.23.105.211",
                  "ns_1@172.23.105.212",
                  "ns_1@172.23.105.213"
                ],
                "failover_nodes": [
                  "ns_1@172.23.105.213"
                ],
                "master_node": "ns_1@172.23.105.155"
              },
              "failover_reason": {},
              "allow_unsafe": false
            }
          },

      Attachments

        For Gerrit Dashboard: MB-49791
        # Subject Branch Project Status CR V

        Activity

          People

            hareen.kancharla Hareen Kancharla
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty