Skip to content

ZOOKEEPER-3870: Avoid out of order response and txns created with ReadOnlyZooKeeperServer - #1387

Open
lvfangmin wants to merge 1 commit into
apache:masterfrom
lvfangmin:ZOOKEEPER-3870
Open

ZOOKEEPER-3870: Avoid out of order response and txns created with ReadOnlyZooKeeperServer#1387
lvfangmin wants to merge 1 commit into
apache:masterfrom
lvfangmin:ZOOKEEPER-3870

Conversation

@lvfangmin

Copy link
Copy Markdown
Contributor

No description provided.

@eolivelli

Copy link
Copy Markdown
Contributor

Checkstyle is failing.

@hanm hanm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - some change in this patch is conflicting with #1380 so if that patch lands first, this pr would require some work.

Assert.assertTrue(getResponseLatch.await(2, TimeUnit.SECONDS));
Assert.assertTrue(setResponseLatch.await(2, TimeUnit.SECONDS));
Assert.assertEquals(requestCount, successGetResponseCount.get());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would these three Assert verify the order of the responses?

@hanm

hanm commented Oct 1, 2020

Copy link
Copy Markdown
Contributor

#1380 landed so this one is good to go. "just" need a rebase and fixing check style errors
@lvfangmin

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.

3 participants