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

Crash in tablet bootstrap due to out of order timestamp on consensus-only op

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Feature Complete
    • None
    • consensus
    • None

    Description

      Tablet bootstrap assumes that it can move the offline safe time any time a transaction commits, however it considers consensus-only operations such as NO_OP and CHANGE_CONFIG_OP to be included in this as well. This is no longer a safe assumption, because we do not assign the timestamps for these operations on the prepare thread like we do for the tablet transactions.

      The fix is to exclude consensus-only operations from tablet bootstrap's safe time advancement logic.

      Attachments

        1. kudu-admin-test.txt
          85 kB
          Mike Percy
        2. raft_consensus-itest-cluster.tar.gz
          467 kB
          Mike Percy

        Issue Links

          Activity

            People

              mpercy Mike Percy
              mpercy Mike Percy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: