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

nats-io / gnatsd / 3163
90%
master: 91%

Build:
Build:
LAST BUILD BRANCH: remoteleaf
DEFAULT BRANCH: master
Ran 07 Mar 2019 12:12AM UTC
Jobs 1
Files 26
Run time 30min
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

07 Mar 2019 12:07AM UTC coverage: 91.421% (-0.08%) from 91.503%
3163

Pull #920

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
  different)
- 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 a matching
subscription 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 #920: Gateways: Fix race for request reply

174 of 174 new or added lines in 4 files covered. (100.0%)

13342 of 14594 relevant lines covered (91.42%)

99657.81 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3163.2 07 Mar 2019 12:12AM UTC 0
91.42
Travis Job 3163.2
Source Files on build 3163
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3163
  • Pull Request #920
  • PR Base - master (#3148)
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