Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-266

fsync parent directory when flushing data files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • M3
    • None
    • tablet
    • None
    • M5

    Description

      We need to fsync the parent directory when flushing – creating new cfiles, new metadata superblock files, etc. We can use the Env::SyncDir() call added by Alex in http://gerrit.ent.cloudera.com:8080/#/c/2544/

      For some general guidance on this see the post by Robert Love on Quora: http://www.quora.com/Linux/When-should-you-fsync-the-containing-directory-in-addition-to-the-file-itself

      Attachments

        Activity

          People

            avf Alex Feinberg
            mpercy Mike Percy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: