-
Bug
-
Resolution: Fixed
-
Medium
-
3.1.0, 4.13.0
-
None
-
Severity 3 - Minor
-
Summary
After an application link is defined between two applications, remote events are only sent from one application to the other after the capabilities of the applications have been shared. This discovery happens consistantly while the applications are running. Restarting both applications however, causes a temporary failure because the first discovery attempt will usually fail if the target application doesn't start quickly enough. This is not problematic by itself but the discovery attempts occur with an exponential delay.
Steps to Reproduce
- Install Bitbucket Server.
- Install Bamboo.
- Set up an application link between Bamboo and Bitbucket Server.
- And a repo in Bamboo.
- Confirm that remote events are getting sent by Bitbucket Server.
- Stop both Bitbucket Server and Bamboo.
- Start Bitbucket Server and then start Bamboo.
Expected Results
Remote events are sent from Bitbucket Server to Bamboo.
Actual Results
Since Bamboo isn't available immediately, Bitbucket Server waits to check its capabilities again, which in turn delays remote events.
Workaround
For customers on versions < 4.14.3 set either one of the following system properties will fix the problem:
- navlink.failurecache.backoff=2
- navlink.failurecache.maxExpiryMs=1