Skip to content

ZOOKEEPER-3253: client should not send requests with cxid=-4, -2, or -1 - #844

Closed
athanatos wants to merge 1 commit into
apache:branch-3.4from
athanatos:forupstream/ZOOKEEPER-3235-3.4
Closed

athanatos wants to merge 1 commit into
apache:branch-3.4from
athanatos:forupstream/ZOOKEEPER-3235-3.4

Conversation

@athanatos

Copy link
Copy Markdown
  • Add test for cxid rollover to 1
  • Modify ClientCnxn.SendThread.getXid() to increment from MAX to 1.

Author: Samuel Just [email protected]

Reviewers: [email protected]

Closes #787 from athanatos/forupstream/ZOOKEEPER-3253

Change-Id: Ib3d111170bb086d6982f2cf0ee5cf8afd5157588
(cherry picked from commit e10c93a)

Includes backport of createConnection testability refactor
from 9f82798.

Signed-off-by: Samuel Just [email protected]

- Add test for cxid rollover to 1
- Modify ClientCnxn.SendThread.getXid() to increment from MAX to 1.

Author: Samuel Just <[email protected]>

Reviewers: [email protected]

Closes apache#787 from athanatos/forupstream/ZOOKEEPER-3253

Change-Id: Ib3d111170bb086d6982f2cf0ee5cf8afd5157588
(cherry picked from commit e10c93a)

Includes backport of createConnection testability refactor
from 9f82798.

Signed-off-by: Samuel Just <[email protected]>
asfgit pushed a commit that referenced this pull request Mar 8, 2019
- Add test for cxid rollover to 1
- Modify ClientCnxn.SendThread.getXid() to increment from MAX to 1.

Author: Samuel Just <sjustsalesforce.com>

Reviewers: phuntapache.org

Closes #787 from athanatos/forupstream/ZOOKEEPER-3253

Change-Id: Ib3d111170bb086d6982f2cf0ee5cf8afd5157588
(cherry picked from commit e10c93a)

Includes backport of createConnection testability refactor
from 9f82798.

Signed-off-by: Samuel Just <sjustsalesforce.com>

Author: Samuel Just <[email protected]>

Reviewers: [email protected]

Closes #844 from athanatos/forupstream/ZOOKEEPER-3235-3.4
@phunt

phunt commented Mar 8, 2019

Copy link
Copy Markdown
Contributor

+1 thanks @athanatos !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants