Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed

Conversation

athanatos
Copy link

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

Author: Samuel Just sjust@salesforce.com

Reviewers: phunt@apache.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 sjust@salesforce.com

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

Author: Samuel Just <sjust@salesforce.com>

Reviewers: phunt@apache.org

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 <sjust@salesforce.com>
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 <sjust@salesforce.com>

Reviewers: phunt@apache.org

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

phunt commented Mar 8, 2019

+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
2 participants