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

SystemEventLogs: Graceful failover failed event - incorrect value for 'time_taken'

    XMLWordPrintable

Details

    Description

       

      Build: 7.1.0-1745

      Scenario:

      • 3 node cluster, sample buckets installed
      • Trigger manual graceful failover (172.23.105.211)
      • Kill memcached on one of the nodes (172.23.105.155)
      • Graceful failed as expected

      Observation:

      Event "Graceful failover failed" has time_taken field populated wrongly

      "time_taken": 43343,

      Event logs Json:

          {
            "timestamp": "2021-11-25T06:05:59.159Z",
            "event_id": 6,
            "component": "ns_server",
            "description": "Graceful failover initiated",
            "severity": "info",
            "node": "172.23.105.155",
            "uuid": "23a77325-6826-412b-a5d1-8fde769d662b",
            "extra_attributes": {
              "nodes_info": {
                "active_nodes": [
                  "ns_1@172.23.105.155",
                  "ns_1@172.23.105.211",
                  "ns_1@172.23.105.212"
                ],
                "failover_nodes": [
                  "ns_1@172.23.105.211"
                ],
                "master_node": "ns_1@172.23.105.155"
              },
              "operation_id": "eb52d7ec10ed377b2133b3b3f794b8ef"
            }
          },
          {
            "timestamp": "2021-11-25T06:06:42.558Z",
            "event_id": 8,
            "component": "ns_server",
            "description": "Graceful failover failed",
            "severity": "error",
            "node": "172.23.105.155",
            "uuid": "7f75310c-6782-42d2-95d2-e8d706537fd4",
            "extra_attributes": {
              "operation_id": "eb52d7ec10ed377b2133b3b3f794b8ef",
              "nodes_info": {
                "active_nodes": [
                  "ns_1@172.23.105.155",
                  "ns_1@172.23.105.211",
                  "ns_1@172.23.105.212"
                ],
                "failover_nodes": [
                  "ns_1@172.23.105.211"
                ],
                "master_node": "ns_1@172.23.105.155"
              },
              "time_taken": 43343,

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dfinlay Dave Finlay
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty