Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1297

Add stat information to create() call

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.3
    • 3.5.0
    • java client
    • Reviewed

    Description

      In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.

      Attachments

        1. ZOOKEEPER-1297.patch
          68 kB
          Lenni Kuff
        2. ZOOKEEPER-1297.patch
          68 kB
          Lenni Kuff
        3. ZOOKEEPER-1297.patch
          68 kB
          Lenni Kuff

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lskuff Lenni Kuff
            gunnar Gunnar Wagenknecht
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment