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

Detect missing log file segment during initialization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 5.5.4, Cheshire-Cat
    • storage-engine
    • Untriaged
    • 1
    • No

    Description

      During initialization of multiFilelog, the start and end offsets are interpreted from the log segment file names. If any of the log files are missing, these offsets can be incorrect and must be verified. Additionally, these offsets must also be verified against the offsets in the superblock.

       

      If any of the log.X.data files are deleted, the indexer can run into panic-restart loop. I am able to reproduce this issue locally with the following steps:

      • set indexer.plasma.LSSSegmentFileSize to a small size (say 5MB)
      • create index and load enough documents to see multiple log.X.data files
      • delete some of the log.X.data files and restart indexer

      Attachments

        Issue Links

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

          Activity

            People

              sanjit.chauhan Sanjit Chauhan (Inactive)
              akhil.mundroy Akhil Mundroy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change

                  PagerDuty