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

SystemEventLogs: Adding event with same uuid after 60sec timeframe is not honoured

    XMLWordPrintable

Details

    Description

      Build: 7.1.0-1745

      Steps: (All events are tried with same event - uuid)

      • Add event with random uuid (here 90fdc676-a082-447f-9e1e-d126b2e0a564)
      • Continuously create events on server with same uuid as event_1 and incremental timestamp < t+60sec of the prev event, such that all events are discarded by the cluster as duplicate
      • Update timestamp of new event to timestamp(event_1) + 61 seconds and try adding the event to make sure the event is recorded by the cluster

      Observation:

      Event creation succeeds as per the requests status but not seen in the cluster.

      If I try to create the same event after some time(manually), it shows up in the cluster

      Last cluster event:

       

          {
            "severity": "info",
            "description": "Service started",
            "uuid": "52f49865-572f-4a7d-b676-1069f5461f35",
            "component": "ns_server",
            "event_id": 1,
            "timestamp": "2021-11-24T09:55:31.776Z",
            "node": "172.23.105.155"
          }

       

      Snapshot of new event outside the 60seconds window:

      QE test:

       

      ns_server.system_event_logs.SystemEventLogs:
        test_duplicate_events,nodes_init=1,validate_sys_event_logs=True

       

      Attachments

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

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty