Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4553

DeleteTable repo not replayable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.6, 1.7.2
    • 2.0.0
    • fate, master
    • None

    Description

      I had an issue where a table was stuck in a deleting state. I'm still digging into the specifics of the incident, but I'm looking at the DeleteTable repo and it does not seem safe to replay if the master goes down during execution. It calls TableManager.transitionTableState which does a zk mutation that does not allow Deleting->Deleting. This means that if the repo dies after the mutation but before seeding the next fate repo, any repeats will fail due to it already being in a deleting state.

      Furthermore, the only way to correct this behavior is to manually force the table into a non-deleting state via zk surgery, and no one wants that.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vines John Vines
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: