Skip to content

Commit

Permalink
clarify dual read error messages (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
bohhyang authored Mar 13, 2024
1 parent b889fa0 commit 53aab6f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 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.51.7] - 2024-03-13
- clarify dual read error messages

## [29.51.6] - 2024-03-04
- shut down dualread executor properly and guard for rejected execution exceptions

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

## [0.14.1]

[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.51.6...master
[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.51.7...master
[29.51.7]: https://github.com/linkedin/rest.li/compare/v29.51.6...v29.51.7
[29.51.6]: https://github.com/linkedin/rest.li/compare/v29.51.5...v29.51.6
[29.51.5]: https://github.com/linkedin/rest.li/compare/v29.51.4...v29.51.5
[29.51.4]: https://github.com/linkedin/rest.li/compare/v29.51.3...v29.51.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ public void getClient(Request request, RequestContext requestContext, Callback<T
@Override
public void onError(Throwable e)
{
_rateLimitedLogger.error("Dual read failure. Unable to read service properties from: {}", serviceName, e);
_rateLimitedLogger.warn("Safe to ignore - dual read error. This is a side-way call to INDIS, "
+ "NOT being used for app's traffic. Unable to read from INDIS for service properties: {}",
serviceName, e);
}

@Override
Expand All @@ -185,7 +187,9 @@ public void onSuccess(ServiceProperties result)
@Override
public void onError(Throwable e)
{
_rateLimitedLogger.error("Dual read failure. Unable to read cluster and uri properties " + "from: {}", clusterName, e);
_rateLimitedLogger.warn("Safe to ignore - dual read error. This is a side-way call to INDIS, "
+ "NOT being used for app's traffic. Unable to read from INDIS for cluster and uri properties: "
+ "{}", clusterName, e);
}

@Override
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.51.6
version=29.51.7
group=com.linkedin.pegasus
org.gradle.configureondemand=true
org.gradle.parallel=true
Expand Down

0 comments on commit 53aab6f

Please sign in to comment.