Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Transaction State Handler #1410

Closed
wants to merge 6 commits into from
Closed

Conversation

ChTimTsubasa
Copy link
Member

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.

@coveralls
Copy link

coveralls commented Jun 16, 2018

Coverage Status

Coverage decreased (-77.9%) to 0.0% when pulling 9e3456b on ChTimTsubasa:txn_fix into 55abc0c on cmu-db:master.

@tli2 tli2 self-requested a review June 16, 2018 15:42
ENDED,
};

class TransactionStateHandler {
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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.

@tli2
Copy link
Contributor

tli2 commented Jun 27, 2018

Will be incorporated into larger network refactor PR.

@tli2 tli2 closed this Jun 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants