-
Notifications
You must be signed in to change notification settings - Fork 623
Conversation
ENDED, | ||
}; | ||
|
||
class TransactionStateHandler { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead of TransactionStateHandler, call it ClientTransactionHandle or something like that, since this component stores all relevant information in the network layer about what a client's transaction is doing, instead of performing anything on transactions.
@@ -0,0 +1,45 @@ | |||
#pragma once |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
headers?
@@ -2,11 +2,11 @@ | |||
// | |||
// Peloton | |||
// | |||
// traffic_cop.h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look like your intended changes.
Will be incorporated into larger network refactor PR. |
This PR try to fix the transaction bug #1296 and do some refactor for traffic_cop by adding a wrapper around transaction context and manager.