Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-4062

Should make clean files become data trash manager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1
    • None
    • None

    Description

      To prevent accidental deletion of data, carbon will introduce data trash management. It will provide buffer time for accidental deletion of data to roll back the delete operation.

      Data trash management is a part of carbon data lifecycle management. Clean files as a data trash manager should contain the following two parts.
      part 1: manage metadata-indexed data trash.
        This data is at the original place of the table and indexed by metadata. carbon manages this data by metadata index and should avoid using listFile() interface.
      part 2: manage ".Trash" folder.
         Now ".Trash" folder is without metadata index, and the operation on it bases on timestamp and listFile() interface. In the future, carbon will index ".Trash" folder to improve data trash management.

      Attachments

        Activity

          People

            Unassigned Unassigned
            qiangcai David Cai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 26h 10m
                26h 10m