Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-590

Adds possibility to disable parent creation for PersistentNode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.3.0
    • 5.2.0
    • Recipes
    • None

    Description

      We should be able to add an option to the PersistentNode in order to turn parent creation off.

      For example:

      given this znode path containing some data:

      /one/two

       and a PersistentNode under

      /one/two/three

      If the former path is deleted (with deleting children if needed),

      the PersistentNode will recreate the full hierarchy but with empty data for

      /one/two

      That can be misleading for external process looking at these paths, thinking that something is up (wrongfully).

      The idea is to add a boolean flag to the PersistentNode recipe to disable the parent creation when creating / recreating znode in order to avoid such situation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pboutes Boutes Paul
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 3h 40m
                3h 40m