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

Stat structure not filled when using the idiom create().orSetData()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.1
    • Client
    • None

    Description

      Hello

      It seems that when using the idiom client.create().orSetData(), the Stat structure set with storingStatIn does not get filled if the path already exists.

      I attached a unit test that exemplifies the behaviour.

      Regards

      Attachments

        1. CreateOrSetDataTest.java
          2 kB
          Andrés Pipicello

        Issue Links

          Activity

            People

              cammckenzie Cam McKenzie
              andres-pipicello Andrés Pipicello
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: