Skip to content

TS-4744: ParentConsistentHash::selectParent may select the unavailable parent#900

Closed
keith2008 wants to merge 1 commit intoapache:masterfrom
keith2008:TS-4744
Closed

TS-4744: ParentConsistentHash::selectParent may select the unavailable parent#900
keith2008 wants to merge 1 commit intoapache:masterfrom
keith2008:TS-4744

Conversation

@keith2008
Copy link
Copy Markdown
Contributor

ParentConsistentHash::selectParent may select the unavailable parent

@PSUdaemon PSUdaemon added this to the 7.0.0 milestone Aug 23, 2016
Comment thread proxy/ParentConsistentHash.cc Outdated
if (prtmp) {
pRec = (parents[last_lookup] + prtmp->idx);
}
else
Copy link
Copy Markdown
Contributor

@zwoop zwoop Aug 23, 2016

Choose a reason for hiding this comment

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

Please use the { } consistently. E.g.

} else {

I also don't think this would pass clang-format, so please run "make clang-format" after fixing.

@jrushford
Copy link
Copy Markdown
Contributor

Traded emails with keith2008 and he asked me to resolvle the merge conflict. I'm going to close ths PR and open another one with his code changes. I'm +1 on the changes.

@jrushford jrushford closed this Aug 29, 2016
@keith2008 keith2008 deleted the TS-4744 branch August 31, 2016 02:31
@zwoop zwoop modified the milestone: 7.0.0 May 4, 2017
bneradt added a commit to bneradt/trafficserver that referenced this pull request Feb 6, 2024
This calculates nbytes explicitly in send_request for HTTP/2 headers and
any possibly sent body (if these are HTTP/2 trailers).

This is cherry-picked from a couple unmerged commits from this PR:
apache#9987

 Conflicts:
       proxy/http2/Http2Stream.cc
       proxy/http2/Http2Stream.h
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