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

SystemEventLogs: Indexing system events are not getting logged with 400 error code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • secondary-index
    • Enterprise Edition 7.1.0 build 1524

    Description

      Test -

      -test tests/integration/neo/test_neo_couchstore_milestone2.yml -scope tests/integration/neo/scope_couchstore.yml
      

      On 172.23.120.245
      indexer.log

      grep "\[Error\] SystemEventLoggerImpl.logEvent: Request failed with HTTP Status code: 400" ns_server.indexer.log | wc -l
           180
      

      2021-10-19T18:48:32.312-07:00 [Error] SystemEventLoggerImpl.logEvent: Request failed with HTTP Status code: 400; Unable to log system event: {"component":"indexing","uuid":"062534cd-bbb6-4b83-a6b6-88cdcd14d4a0","timestamp":"2021-10-20T01:48:32.31Z","sub_component":"Indexer","severity":"info","event_id":2057,"description":"Index Instance or Partition Dropped","extra_attributes":{"group":"DDL","module":"IndexPartitionDropped","definition_id":13315386172137692835,"instance_id":12760546471824950155,"partition_id":2,"real_instance_id":12274110703460976679,"is_proxy_instance":true,"indexer_id":"110297ee8c4e238454d2027ca092fc5a"}}
      2021-10-19T18:48:32.314-07:00 [Error] SystemEventLoggerImpl.logEvent: Request failed with HTTP Status code: 400; Unable to log system event: {"component":"indexing","uuid":"f9f78fa3-ee2b-4d03-9045-999cb57221ab","timestamp":"2021-10-20T01:48:32.31Z","sub_component":"Indexer","severity":"info","event_id":2058,"description":"Index Partition Merged","extra_attributes":{"group":"DDL","module":"IndexPartitionMerged","definition_id":13315386172137692835,"instance_id":12274110703460976679,"partition_id":2,"indexer_id":"110297ee8c4e238454d2027ca092fc5a"}}
      2021-10-19T18:49:54.994-07:00 [Error] SystemEventLoggerImpl.logEvent: Request failed with HTTP Status code: 400; Unable to log system event: {"component":"indexing","uuid":"cf7d512a-9140-4217-9121-b0632cd3db02","timestamp":"2021-10-20T01:49:54.99Z","sub_component":"Indexer","severity":"info","event_id":2057,"description":"Index Instance or Partition Dropped","extra_attributes":{"group":"DDL","module":"IndexPartitionStateChange","definition_id":14980750020218710517,"instance_id":9818293634783546894,"replica_id":1,"partition_id":1,"indexer_id":"110297ee8c4e238454d2027ca092fc5a"}}
      2021-10-19T18:56:53.732-07:00 [Error] SystemEventLoggerImpl.logEvent: Request failed with HTTP Status code: 400; Unable to log system event: {"component":"indexing","uuid":"615f4646-c051-42e9-ba4c-565374edc730","timestamp":"2021-10-20T01:56:53.73Z","sub_component":"Indexer","severity":"info","event_id":2057,"description":"Index Instance or Partition Dropped","extra_attributes":{"group":"DDL","module":"IndexPartitionDropped","definition_id":16290470698158392706,"instance_id":15492663984512487922,"replica_id":3,"partition_id":2,"indexer_id":"110297ee8c4e238454d2027ca092fc5a"}}
      2021-10-19T19:22:31.611-07:00 [Error] SystemEventLoggerImpl.logEvent: Request failed with HTTP Status code: 400; Unable to log system event: {"component":"indexing","uuid":"b0f77799-9a75-437b-b31a-a3ab22eec0b7","timestamp":"2021-10-20T02:22:31.61Z","sub_component":"Indexer","severity":"info","event_id":2057,"description":"Index Instance or Partition Dropped","extra_attributes":{"group":"DDL","module":"IndexPartitionDropped","definition_id":8741014028494502246,"instance_id":5123303652938483847,"replica_id":2,"partition_id":1,"indexer_id":"110297ee8c4e238454d2027ca092fc5a"}}
      2021-10-19T20:11:46.672-07:00 [Error] SystemEventLoggerImpl.logEvent: Request failed with HTTP Status code: 400; Unable to log system event: {"component":"indexing","uuid":"885811ef-c445-45e3-88e0-a9799080ed35","timestamp":"2021-10-20T03:11:46.67Z","sub_component":"Indexer","severity":"info","event_id":2057,"description":"Index Instance or Partition Dropped","extra_attributes":{"group":"DDL","module":"IndexPartitionDropped","definition_id":13315386172137692835,"instance_id":12274110703460976679,"partition_id":1,"indexer_id":"110297ee8c4e238454d2027ca092fc5a"}}
      

      According to ns_server design doc -
      Events must include the mandatory fields listed in the JSON Fields table below. If any of the mandatory fields are missing or if the Event JSON is an invalid JSON, HTTP 400 error will be returned.

      Attachments

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

        Activity

          People

            sai.teja Sai Krishna Teja
            sujay.gad Sujay Gad
            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