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

[BP 7.0.2 MB-43020]- Detect missing log file segment during initialization

    XMLWordPrintable

Details

    • Untriaged
    • 3
    • 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

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

          Activity

            srinath.duvuru Srinath Duvuru created issue -
            srinath.duvuru Srinath Duvuru made changes -
            Field Original Value New Value
            Link This issue Clones MB-43020 [ MB-43020 ]
            srinath.duvuru Srinath Duvuru made changes -
            Fix Version/s 7.0.1 [ 17104 ]
            srinath.duvuru Srinath Duvuru made changes -
            Fix Version/s Neo [ 17615 ]
            wayne Wayne Siu made changes -
            Link This issue is a backport of MB-43020 [ MB-43020 ]
            wayne Wayne Siu made changes -
            Link This issue Clones MB-43020 [ MB-43020 ]
            wayne Wayne Siu made changes -
            Link This issue blocks MB-46308 [ MB-46308 ]
            wayne Wayne Siu made changes -
            Labels plasma approved-for-7.0.1 plasma
            saptarshi.sen Saptarshi Sen made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            lynn.straus Lynn Straus made changes -
            Fix Version/s 7.0.2 [ 18012 ]
            lynn.straus Lynn Straus made changes -
            Fix Version/s 7.0.1 [ 17104 ]
            ritam.sharma Ritam Sharma made changes -
            Assignee Saptarshi Sen [ JIRAUSER25455 ] Sanjit Chauhan [ JIRAUSER25325 ]
            sanjit.chauhan Sanjit Chauhan made changes -
            Story Points 1 3
            Status Resolved [ 5 ] Closed [ 6 ]
            ianmccloy Ian McCloy made changes -
            Summary [BP 7.0.1 MB-43020]- Detect missing log file segment during initialization [BP 7.0.2 MB-43020]- Detect missing log file segment during initialization

            People

              sanjit.chauhan Sanjit Chauhan
              srinath.duvuru Srinath Duvuru
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty