You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Charles-Henri de Boysson (Jira)" <ji...@apache.org> on 2020/12/08 17:12:00 UTC

[jira] [Created] (ZOOKEEPER-4026) CREATE2 requests embeded in a MULTI request only get a regular CREATE response

Charles-Henri de Boysson created ZOOKEEPER-4026:
---------------------------------------------------

             Summary: CREATE2 requests embeded in a MULTI request only get a regular CREATE response
                 Key: ZOOKEEPER-4026
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4026
             Project: ZooKeeper
          Issue Type: Bug
          Components: server
    Affects Versions: 3.6.2, 3.5.8
         Environment: Tested with official docker hub images of the server and a python Zookeeper client (Kazoo, http://github.com/python-zk/kazoo)
            Reporter: Charles-Henri de Boysson
         Attachments: MULTI_CREATE2_bug.txt

When making a MULTI request with a CREATE2 payload, the reply from the server only contains a regular CREATE response (the path but without the stat data).

 

See attachment for a capture and decode of the request/reply.

 

How to reproduce:
 * Connect to the ensemble
 * Make a MULTI (OpCode 14) request with a CREATE2 operation (OpCode 15)
 * Reply from server is success, znode is create, but the MULTI reply contains a CREATE (OpCode 1)

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)