Skip to content

Conversation

@thanodnl
Copy link
Contributor

Release of ringpop 0.7.1

Lets check the changes to CHANGES.md

thanodnl and others added 3 commits December 23, 2016 15:37
* Add tests to verify if forwarding headers are leaked.

* only set the forwarding header when forwarding over the wire

* update generated code of examples to reflect changes in thrift-gen file.

* test isRemote on Router.

* change the name of the forwarded header and send the keys used in forwarding instead of a static true value

* Address first round of feedback.

* Changed name of cached value

* Add example (which doubles as a test) for self request

* use a list as the return value for GetAll to enforce consistent ordering so the output can be easily glob verified

* use non-naked returns because big function

* Rename perserving to preserving.

* add explanation how the keys are chosen

* add test for multiple keys that is forwarded for

* Rename HasForwardedHeader to relfect its implementation of deleting it.

* fix typo
Copy link
Contributor

@mennopruijssers mennopruijssers left a comment

Choose a reason for hiding this comment

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

two small nits, feel free to use your own judgement 👍

CHANGES.md Outdated
#### Header leaking

When applications use their incoming context blindly in an outgoing call it uses
the same headers for the outgoing call as the incoming call had, eg. incoming
Copy link
Contributor

Choose a reason for hiding this comment

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

s/headers/tchannel headers?

CHANGES.md Outdated

With this fix the header indicating a forwarded call will not be leaked to the
application. This makes it possible for applications to use the incoming context
on a call to a sharded endpoint on their own service an correctly route the
Copy link
Contributor

@mennopruijssers mennopruijssers Dec 23, 2016

Choose a reason for hiding this comment

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

s/own/own or another ringpop service

@thanodnl thanodnl merged commit c6e0f39 into master Dec 23, 2016
@thanodnl thanodnl deleted the release-v0.7.1 branch December 23, 2016 15:45
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