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

FTS: mossStore should delete half-written files on an error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • moss
    • None
    • Untriaged
    • Unknown

    Description

      Hi Sreekanth,

      Related to https://issues.couchbase.com/browse/MB-27589

      In that ticket, the cbft process ran out of disk space, so it rightly raised an error and exited, leading to a process restart. What needs to be double-checked is whether half-written files are getting properly deleted, such as during the restart/reopen logic here https://github.com/couchbase/moss/blob/master/store.go#L608. To help validate this is happening correctly, perhaps need to add more logging to help increase assurance on this, perhaps logging both all the files and on the files that are getting removed.

      Attachments

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

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            steve Steve Yen
            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