Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1146

feed retention policy deleted everything all the way up to the root

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.6
    • 0.6.1
    • common, retention
    • None

    Description

      For the below feed definition xml, feed is set to delete every minute but once it run it deleted everything all the way up and even the root directory.

      <?xml version="1.0" encoding="UTF-8"?>
      <feed description="ALU EVDO retention feed" name="alu-evdo-retention" xmlns="uri:falcon:feed:0.1">
          <frequency>minutes(30)</frequency>
          <clusters>
              <cluster name="primary-cluster" type="source">
                  <validity start="2014-03-01T00:00Z" end="2016-01-01T00:00Z"/>
                  <retention limit="minutes(1)" action="delete"/>
              </cluster>
          </clusters>
          <locations>
              <location type="data" path="/adis/test/${YEAR}-${MONTH}-${DAY}/${HOUR}/${MINUTE}"/>
          </locations>
          <ACL owner="flume" group="landing" permission="0x777"/>
          <schema location="/none" provider="none" />
      </feed>
      

      Attachments

        1. FALCON-1146.patch
          2 kB
          Peeyush Bishnoi
        2. FALCON-1146.v1.patch
          5 kB
          Peeyush Bishnoi

        Issue Links

          Activity

            People

              peeyushb Peeyush Bishnoi
              peeyushb Peeyush Bishnoi
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: