Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
ddb2c1ac
Commit
ddb2c1ac
authored
Aug 10, 2018
by
Marc Gravell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add logging of what conditions get
parent
5817b3e0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
Condition.cs
StackExchange.Redis/StackExchange/Redis/Condition.cs
+1
-0
PhysicalBridge.cs
StackExchange.Redis/StackExchange/Redis/PhysicalBridge.cs
+2
-0
No files found.
StackExchange.Redis/StackExchange/Redis/Condition.cs
View file @
ddb2c1ac
...
...
@@ -275,6 +275,7 @@ public static Message CreateMessage(Condition condition, int db, CommandFlags fl
protected
override
bool
SetResultCore
(
PhysicalConnection
connection
,
Message
message
,
RawResult
result
)
{
connection
?.
BridgeCouldBeNull
?.
Multiplexer
?.
OnTransactionLog
(
$"condition '
{
message
.
CommandAndKey
}
' got '
{
result
.
ToString
()}
'"
);
var
msg
=
message
as
ConditionMessage
;
var
condition
=
msg
?.
Condition
;
if
(
condition
!=
null
&&
condition
.
TryValidate
(
result
,
out
bool
final
))
...
...
StackExchange.Redis/StackExchange/Redis/PhysicalBridge.cs
View file @
ddb2c1ac
...
...
@@ -752,8 +752,10 @@ private WriteResult WriteMessageToServerInsideWriteLock(PhysicalConnection conne
break
;
}
//connection.EnqueueInsideWriteLock(message);
message
.
WriteTo
(
connection
);
connection
.
EnqueueInsideWriteLock
(
message
);
message
.
SetRequestSent
();
IncrementOpCount
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment