Skip to content

Enhance Connection Collapse in ATS core#6053

Merged
sudheerv merged 1 commit intoapache:masterfrom
sudheerv:collapsed_fwd2
Oct 23, 2019
Merged

Enhance Connection Collapse in ATS core#6053
sudheerv merged 1 commit intoapache:masterfrom
sudheerv:collapsed_fwd2

Conversation

@sudheerv
Copy link
Contributor

@sudheerv sudheerv commented Oct 23, 2019

Add an option to support cache open read retry on a write lock
failure. With this option, as long as read-while-writer is set
up following the guidelines in the docs, there should be no need
for any plugins to augment the core. Eventual plan is to deprecate
collapsed_forwarding plugin with this new support.

For more context on this, see
https://cwiki.apache.org/confluence/display/TS/Presentations+-+2019?preview=/112821251/132320653/Collapsed%20Forwarding%20.pdf

Note: PR #7586 fixes an issue that appears to have been introduced by this PR.

Add an option to support cache open read retry on a write lock
failure. With this option, as long as read-while-writer is set
up following the guidelines in the docs, there should be no need
for any plugins to augment the core. Eventual plan is to deprecate
collapsed_forwarding plugin with this new support.

For more context on this, see
https://cwiki.apache.org/confluence/display/TS/Presentations+-+2019?preview=/112821251/132320653/Collapsed%20Forwarding%20.pdf
@sudheerv sudheerv requested review from ezelkow1, scw00 and zwoop October 23, 2019 02:17
@scw00
Copy link
Member

scw00 commented Oct 23, 2019

link to #6028

@scw00 scw00 added this to the 10.0.0 milestone Oct 23, 2019
@sudheerv
Copy link
Contributor Author

Thanks @scw00 for the thorough review!

Copy link
Member

@ezelkow1 ezelkow1 left a comment

Choose a reason for hiding this comment

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

Did some basic testing with fake duplicated requests and appears to work so far for me

@sudheerv sudheerv merged commit 180f723 into apache:master Oct 23, 2019
@zwoop
Copy link
Contributor

zwoop commented Dec 22, 2019

Cherry-picked to v9.0.x branch.

@zwoop zwoop modified the milestones: 10.0.0, 9.0.0 Dec 22, 2019
@zwoop
Copy link
Contributor

zwoop commented Dec 22, 2019

@sudheerv Should we remove the connection collapsing plugin from v10.0.0 ?

@zwoop
Copy link
Contributor

zwoop commented Dec 22, 2019

Also, if we want this for an 8.x release, we'll need a PR for it.

@sudheerv
Copy link
Contributor Author

@sudheerv Should we remove the connection collapsing plugin from v10.0.0 ?

Yeah, Agree. Will send out an email to dev@ first though and cleanup the old configs and plugin after that.

@sudheerv
Copy link
Contributor Author

sudheerv commented Dec 24, 2019

Also, if we want this for an 8.x release, we'll need a PR for it.

Sure, will create a PR.

Here it is -
#6294

@shinrich shinrich mentioned this pull request Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants