-
Couldn't load subscription status.
- Fork 1.5k
Feature: Add HeartbeatConsistencyChecks #2656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -567,7 +567,7 @@ internal string GetProfile() | |
|
|
||
| internal string? GetStormLog(Message message) => GetBridge(message)?.GetStormLog(); | ||
|
|
||
| internal Message GetTracerMessage(bool assertIdentity) | ||
| internal Message GetTracerMessage(bool checkResponse) | ||
| { | ||
| // Different configurations block certain commands, as can ad-hoc local configurations, so | ||
| // we'll do the best with what we have available. | ||
|
|
@@ -576,7 +576,7 @@ internal Message GetTracerMessage(bool assertIdentity) | |
| var map = Multiplexer.CommandMap; | ||
| Message msg; | ||
| const CommandFlags flags = CommandFlags.NoRedirect | CommandFlags.FireAndForget; | ||
| if (assertIdentity && map.IsAvailable(RedisCommand.ECHO)) | ||
| if (checkResponse && map.IsAvailable(RedisCommand.ECHO)) | ||
| { | ||
| msg = Message.Create(-1, flags, RedisCommand.ECHO, (RedisValue)Multiplexer.UniqueId); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When this Not sure what the right fix would be, but maybe add a flag to force There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We looked here - are good since we're on the |
||
| } | ||
|
|
@@ -588,7 +588,7 @@ internal Message GetTracerMessage(bool assertIdentity) | |
| { | ||
| msg = Message.Create(-1, flags, RedisCommand.TIME); | ||
| } | ||
| else if (!assertIdentity && map.IsAvailable(RedisCommand.ECHO)) | ||
| else if (!checkResponse && map.IsAvailable(RedisCommand.ECHO)) | ||
| { | ||
| // We'll use echo as a PING substitute if it is all we have (in preference to EXISTS) | ||
| msg = Message.Create(-1, flags, RedisCommand.ECHO, (RedisValue)Multiplexer.UniqueId); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.