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

Simplify Request(), allow for mux subject to possibly change. #523

Merged
merged 1 commit into from
Oct 8, 2019

Conversation

derekcollison
Copy link
Member

Signed-off-by: Derek Collison derek@nats.io

@coveralls
Copy link

coveralls commented Oct 8, 2019

Coverage Status

Coverage decreased (-0.3%) to 91.954% when pulling d5ed91c on request into e16cf3a on master.

Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

Do we need to do something with go.mod files?

go.mod Outdated
@@ -1,7 +1,9 @@
module github.com/nats-io/nats.go

require (
github.com/nats-io/jwt v0.2.12
github.com/golang/protobuf v1.3.2
Copy link
Member

Choose a reason for hiding this comment

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

This is a pain.. the server has the client in its deps (which arguably should not if it was not for the server tests) and if we have the client have the server in its deps we will always have say Server 2.1.0 depends on client 1.8.1, then client 1.9.0 depends on say server 2.1.0, etc.. so older nats client or server versions will be pulled.. We really need to figure that out because manually cleaning this file is no joy.

Copy link
Member

Choose a reason for hiding this comment

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

And the answer maybe that we "don't care" that there are those inter-deps?

Copy link
Member Author

Choose a reason for hiding this comment

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

I try to fix them, must have done a test before last push. One sec.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok take a look now.

Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison
Copy link
Member Author

I will squash down and merge when green.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison merged commit 257351c into master Oct 8, 2019
@derekcollison derekcollison deleted the request branch October 8, 2019 22:05
kozlovic added a commit that referenced this pull request Oct 31, 2019
PR #523 introduced and issue that could cause a Request() call
to receive a reply that was intended for another Request() call
if the responder sent multiple replies for the same request.

This issue is only in v1.9.0

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
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