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-3683: Discard requests that are delayed longer than a confi… #1211

Closed
wants to merge 4 commits into from

Conversation

jhuan31
Copy link

@jhuan31 jhuan31 commented Jan 8, 2020

…gured threshold

Copy link
Contributor

@ztzg ztzg left a comment

Choose a reason for hiding this comment

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

LGTM, in general. (But "Request Changes" because System.exit won't pass "checkstyle" as-is anyway.)

Copy link
Contributor

@ztzg ztzg left a comment

Choose a reason for hiding this comment

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

LGTM!

@ztzg
Copy link
Contributor

ztzg commented Jan 13, 2020

Hi @jhuan31,

I am very interested in "multitenancy" topics such as client identification, throttling and quotas, and notably in the components of this ticket submitted by @gmcatsf:

ZOOKEEPER-3467, Complete quota system for zookeeper server

It seems there is a constant stream of patches coming from Facebook which progressively add missing bits and pieces. This is great, but it also means that any new work in that area is likely to duplicate something you already have working internally.

So I am wondering: would you, per chance, have a rough list of "features" you are planning to upstream, so that we can coordinate and minimize conflicts/duplication?

Thanks, -D

@eolivelli
Copy link
Contributor

@ztzg yes, ZookKeeper Friends @ Facebook are porting most of their internal changes to Apache ZooKeeper.
They are creating JIRAs.

If you check on the ML they are hosting a meetup this month in order to present their work. They did the same some month ago.

It is a great chance for the community to benefit from their experience as they are running ZooKeeper at scale.

@ztzg
Copy link
Contributor

ztzg commented Jan 13, 2020

@ztzg yes, ZookKeeper Friends @ Facebook are porting most of their internal changes to Apache ZooKeeper. They are creating JIRAs.

Great :)

If you check on the ML they are hosting a meetup this month in order to present their work. They did the same some month ago.

Right; I should have mentioned that. I won't be able to attend (I'm in Germany), at least this time, but am planning to try and follow the live stream. But I now see that there are recordings of the previous sessions; I will check those!

It is a great chance for the community to benefit from their experience as they are running ZooKeeper at scale.

Indeed!

Cheers, -D

@anmolnar
Copy link
Contributor

@eolivelli @jhuan31

Theoretic question: this is a very useful and huge patch from FB. We discussed that 3.6.0 will be the "Facebook" release which means contains all patches which FB folks wanted to upstream. So, question for committers: can we submit this to branch-3.6 once accepted?

@eolivelli
Copy link
Contributor

branch-3.6 is almost stable and it should be put into only bugfix-and-minor-improvements-mode as soon as 3.6.0 is out.

This patch is very big and It is also adding new RCs (ThrottledOpException)

I would go for 3.7.

We already got into troubles due to the multi address features committed right before the release :-)

@anmolnar
Copy link
Contributor

@eolivelli I understand just saying we had some committments and I feel we started releasing 3.6 a little bit too early. Though it's also my fault: I haven't shout against cutting 3.6

@lvfangmin
Copy link
Contributor

This feature is not fully enabled on our prod environment, I think it's fine to go for 3.7 given we already have a lot of reliability and cool features added in 3.6.

Any other feedback of this diff, or we can go ahead and merge it?

Copy link
Contributor

@hanm hanm left a comment

Choose a reason for hiding this comment

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

requestThrottleQueueTime might require some changes - other parts lgtm with some nits on logging and doc.

@jhuan31
Copy link
Author

jhuan31 commented Mar 24, 2020

@hanm Thank you very much for your comments. I've addressed them. Sorry about the delay.

@jhuan31
Copy link
Author

jhuan31 commented Mar 24, 2020

retest maven build

@asfgit asfgit closed this in e87bad6 Mar 25, 2020
@ztzg
Copy link
Contributor

ztzg commented Mar 26, 2020

@hanm, re requestThrottleQueueTime: Nice catch!

stickyhipp pushed a commit to stickyhipp/zookeeper that referenced this pull request Aug 19, 2020
…gured threshold

Author: Jie Huang <[email protected]>
Author: Ivailo Nedelchev <[email protected]>

Reviewers: Michael Han <[email protected]>, Allan Lyu <[email protected]>, Damien Diederen <[email protected]>

Closes apache#1211 from jhuan31/ZOOKEEPER-3683
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…gured threshold

Author: Jie Huang <[email protected]>
Author: Ivailo Nedelchev <[email protected]>

Reviewers: Michael Han <[email protected]>, Allan Lyu <[email protected]>, Damien Diederen <[email protected]>

Closes apache#1211 from jhuan31/ZOOKEEPER-3683
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…gured threshold

Author: Jie Huang <[email protected]>
Author: Ivailo Nedelchev <[email protected]>

Reviewers: Michael Han <[email protected]>, Allan Lyu <[email protected]>, Damien Diederen <[email protected]>

Closes apache#1211 from jhuan31/ZOOKEEPER-3683
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…gured threshold

Author: Jie Huang <[email protected]>
Author: Ivailo Nedelchev <[email protected]>

Reviewers: Michael Han <[email protected]>, Allan Lyu <[email protected]>, Damien Diederen <[email protected]>

Closes apache#1211 from jhuan31/ZOOKEEPER-3683
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
…gured threshold

Author: Jie Huang <[email protected]>
Author: Ivailo Nedelchev <[email protected]>

Reviewers: Michael Han <[email protected]>, Allan Lyu <[email protected]>, Damien Diederen <[email protected]>

Closes apache#1211 from jhuan31/ZOOKEEPER-3683
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.

7 participants