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

Log updates last_entry_op_id_ before it is durable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • M4.5
    • None
    • log
    • None
    • M5

    Description

      This is a potential durability bug:
      In Log::DoAppend, we update last_entry_op_id_ before we actually write the data to disk. David thinks this might cause us to consider something durable before it is in TabletPeer. I'm not sure. Either way, we should check this, and either make it clear that this is the last assigned entry ID (not durable) or change it to not update until after fsync()ing

      Attachments

        Activity

          People

            Unassigned Unassigned
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: