Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-55

Provide a command to manually clear IDs from invalid list

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.4
    • 0.4.0
    • core
    • None

    Description

      As a basic first step to support pruning invalid transactions from the invalid list, we can provide a command which will tell the TransactionService to clear a set of transaction IDs from the invalid list.

      This would support the case where an administrator has manually clear all the data for an invalid transaction, or knows that the cluster has pruned any possible data for a transaction ID or set of transaction IDs. For an example of where this might be used: an administrator ensures that a major compaction has been run and completed for all tables in a cluster. The invalid list can then be truncated up to the timestamp where the major compaction was issued.

      This should support a couple modes of operation:

      • remove a specific transaction ID or set of transaction IDs from the invalid list
      • truncate the invalid list up to a given point or timestamp

      Attachments

        1. Pruneinvalidtransactionlist-manual.pdf
          149 kB
          Poorna Chandra
        2. Truncateinvalidtransactionlist-manualapproach.pdf
          152 kB
          Poorna Chandra

        Activity

          People

            poorna Poorna Chandra
            ghelmling Gary Helmling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: