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

System Event Log - Index

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0.0
    • 7.1.0
    • secondary-index
    • 1

    Description

      In Neo we're introducing a system event log to record events that happen across the cluster, see the parent MB, https://issues.couchbase.com/browse/MB-46215 for more details. 

      For Index we need to capture the following events. 

      Index Service Events Additional Details Needed
      GSI Index Building UUID of the GSI Index
      GSI Index Created UUID of the GSI Index
      How long the initial build took
      GSI Index Dropped UUID of the GSI Index
      GSI Index Offline UUID of the GSI Index
      GSI Index Online UUID of the GSI Index
      GSI Process Crash Name of process that crashed
      PID of crashed process
      GSI Settings Change Previous Setting and New Setting

      Attachments

        Issue Links

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

          Activity

            hareen.kancharla Hareen Kancharla added a comment - ns_server System event log, Design Document: https://docs.google.com/document/d/1dMkRVbJFQbGE0cfJl05lYN6qtv_jDv7YEdUfFzQGMbo/edit
            sai.teja Sai Krishna Teja added a comment - Indexing design: https://docs.google.com/document/d/1FWfsSvl6HBaFdSVuWfgbxOEFJicjPieLefXlgSw3IAk/edit#heading=h.yk18u88tjc2f

            Build couchbase-server-7.1.0-1432 contains indexing commit 504ffb8 with commit message:
            MB-47028: Start SystemEventLogger and log Settings Change

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1432 contains indexing commit 504ffb8 with commit message: MB-47028 : Start SystemEventLogger and log Settings Change

            Build couchbase-server-7.1.0-1474 contains indexing commit 3c5106a with commit message:
            MB-47028: Add System Events for Index partition Created, Building, Online, Deleted & Added

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1474 contains indexing commit 3c5106a with commit message: MB-47028 : Add System Events for Index partition Created, Building, Online, Deleted & Added
            sai.teja Sai Krishna Teja added a comment - - edited

            Updated the Doc in the link above.

            To Summarise.
            1. Events are at Partition level.
            2. Added the blow events

            • Settings change for Indexer, Projector and GSI Client.
            • Index Partition/Instance Created
            • Index Partition/Instance Building
            • Index Partition/Instance Online
            • Index Partition/Instance Deleted
            • Index Partition Merged

            3. Indexer crash will be handled in the Babysitter events
            4. Index Offline will happen when indexer is offline so no event added per partition for that.
            5. Index Build time can be inferred from Difference in timestamps of Index Building Event and Index Online Event.
            6. Additionally as P1 Have patch for indicating Error State change of an index instance per partition.

            Closing this bug as resolved as the basic events are added here.

            sai.teja Sai Krishna Teja added a comment - - edited Updated the Doc in the link above. To Summarise. 1. Events are at Partition level. 2. Added the blow events Settings change for Indexer, Projector and GSI Client. Index Partition/Instance Created Index Partition/Instance Building Index Partition/Instance Online Index Partition/Instance Deleted Index Partition Merged 3. Indexer crash will be handled in the Babysitter events 4. Index Offline will happen when indexer is offline so no event added per partition for that. 5. Index Build time can be inferred from Difference in timestamps of Index Building Event and Index Online Event. 6. Additionally as P1 Have patch for indicating Error State change of an index instance per partition. Closing this bug as resolved as the basic events are added here.

            Build couchbase-server-7.1.0-1525 contains indexing commit 532b48f with commit message:
            MB-47028: Add System Events for Index partition Error state change

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1525 contains indexing commit 532b48f with commit message: MB-47028 : Add System Events for Index partition Error state change

            Build couchbase-server-7.1.0-1584 contains indexing commit 6697029 with commit message:
            MB-47028: Unify formatting for SettingsChange events

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1584 contains indexing commit 6697029 with commit message: MB-47028 : Unify formatting for SettingsChange events

            Closing this improvement as tests have been implemented for this feature in the 7.1.0 release.

            mihir.kamdar Mihir Kamdar (Inactive) added a comment - Closing this improvement as tests have been implemented for this feature in the 7.1.0 release.

            People

              sai.teja Sai Krishna Teja
              ianmccloy Ian McCloy
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty