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

zoo_amulti doesn't correctly return ZINVALIDSTATE errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.0
    • None
    • c client
    • None

    Description

      zoo_amulti will always return ZMARSHALLINGERROR whenever the zhandle is in an unrecoverable state. ZINVALIDSTATE should probably be returned in these situations.

      Preferably the return code from the relevant error should be returned as is. At the very least it would be nice if zoo_amulti first checked is_unrecoverable, the way zoo_awget does. It seems the other async functions are implicitly doing this in the *Request_init calls.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maflick88 Mark Flickinger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: