Skip to content
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

SCB-817, SCB-818 TCC Omega side implemenation #274

Merged
merged 3 commits into from Aug 28, 2018
Merged

SCB-817, SCB-818 TCC Omega side implemenation #274

merged 3 commits into from Aug 28, 2018

Conversation

WillemJiang
Copy link
Member

  • Updated the TCC protocol for CoordinatedEvent
  • Update the omega transactions code
  • Implemented the TccEventServie of grpc

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 93.585% when pulling 20e9afd on SCB-817 into 8ff04bd on master.

}

@Override
public AlphaResponse coordinate(CoordinatedEvent coordinatedEvent) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't understand coordinate method mean, when sending transactionEndEvent, alpha will send the cordinateCommand to omega instance asynchronous.
it is why onConnect method has a stream observer.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It means alpha need to get the execution result of the coordinatedCommand. This process can be asynchronized.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when received the coordinate feedback message, how alpha handle it,or just persistence the result.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alpha just need to persistent the event for management usage.

@WillemJiang WillemJiang merged commit 68382f2 into master Aug 28, 2018
@WillemJiang WillemJiang deleted the SCB-817 branch September 14, 2018 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants