• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nats-io / gnatsd / 3315
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: remoteleaf
DEFAULT BRANCH: master
Ran 19 Apr 2019 01:59AM UTC
Jobs 1
Files 27
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Apr 2019 01:54AM UTC coverage: 90.493% (+0.03%) from 90.459%
3315

Pull #965

travis-ci

web-flow
Gateways: Fix race for request reply

This addresses the following race:
- client connection creates a subscription on a reply subject
- client connection sends a request
- server sends the subscription to inbound gateway
- server sends the message to outbound gateway (those may be
  to different servers)
- receiving server sends to sub interested in request subject
- app sends reply
- its server then check for interest on the reply's subject

In interestOnly mode, there is a possibility that this server
has not received the interest on the reply subject yet and would
then drop the reply.

This PR detects above scenario and will prefix the reply subject
to identify the origin cluster if it is detected that the last
subscription from the sending connection was created less than
a second ago.
Once the destination has this prefix, the destination cluster
will always send back that message to origin cluster even if
there is no registered interest.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Pull Request #965: Gateways: Fix race for request reply

187 of 187 new or added lines in 5 files covered. (100.0%)

14611 of 16146 relevant lines covered (90.49%)

84588.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3315.1 19 Apr 2019 01:58AM UTC 0
90.49
Travis Job 3315.1
Source Files on build 3315
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3315
  • Pull Request #965
  • PR Base - master (#3313)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc