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

Add stat information to create() call

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.5.0
    • Component/s: java client
    • Labels:
    • Hadoop Flags:
      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

            People

            • Assignee:
              lskuff Lenni Kuff
              Reporter:
              gunnar Gunnar Wagenknecht

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment