Skip to content

Commit

Permalink
Bugfix: mark a dark request as sent if it is sent to any dark clusters (
Browse files Browse the repository at this point in the history
  • Loading branch information
rickzx authored Aug 4, 2022
1 parent c202ce9 commit d0889fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ and what APIs have changed, if applicable.

## [Unreleased]

## [29.37.7] - 2022-08-03
- Bugfix: mark a dark request as sent if it is sent to any dark clusters

## [29.37.6] - 2022-07-28
- Bump ZooKeeper client version to [3.7.1](https://zookeeper.apache.org/releases.html#releasenotes) (latest stable version at the time).

Expand Down Expand Up @@ -5282,7 +5285,8 @@ patch operations can re-use these classes for generating patch messages.

## [0.14.1]

[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.37.6...master
[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.37.7...master
[29.37.7]: https://github.com/linkedin/rest.li/compare/v29.37.6...v29.37.7
[29.37.6]: https://github.com/linkedin/rest.li/compare/v29.37.5...v29.37.6
[29.37.5]: https://github.com/linkedin/rest.li/compare/v29.37.4...v29.37.5
[29.37.4]: https://github.com/linkedin/rest.li/compare/v29.37.3...v29.37.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public boolean handleDarkRequest(RestRequest originalRequest, RequestContext ori
RestRequest newD2Request = rewriteRequest(reqCopy, darkClusterName);
// now find the strategy appropriate for each dark cluster
DarkClusterStrategy strategy = _darkClusterStrategyFactory.get(darkClusterName);
darkRequestSent = strategy.handleRequest(reqCopy, newD2Request, newRequestContext);
darkRequestSent |= strategy.handleRequest(reqCopy, newD2Request, newRequestContext);
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=29.37.6
version=29.37.7
group=com.linkedin.pegasus
org.gradle.configureondemand=true
org.gradle.parallel=true
Expand Down

0 comments on commit d0889fe

Please sign in to comment.