Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7081 Concurrency protection for datasets and partitions
  3. CDAP-6062

Add a way to protect a partition from deletion while it is being processed

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.5.0
    • Component/s: Datasets
    • Labels:
    • Release Notes:
      Added protection for a partition of a file set from being deleted while a query is reading the partition.
    • Rank:
      1|hzy5vj:

      Description

      It is possible currently to delete a partition from a partitioned file set while some other program is reading that partition. It would be good have a locking mechanism that prevents dropping that partition. This would not prevent deleting the files directly on the file system (if one bypasses CDAP/the PFS), but it will prevent a dropPartition().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andreas Andreas Neumann
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: