Skip to content

GEODE-6641: Code impacts for support for two phase commit transactions#486

Merged
jake-at-work merged 3 commits intoapache:developfrom
Nordix:feature/GEODE-6641
Jul 9, 2019
Merged

GEODE-6641: Code impacts for support for two phase commit transactions#486
jake-at-work merged 3 commits intoapache:developfrom
Nordix:feature/GEODE-6641

Conversation

@mivanac
Copy link
Copy Markdown
Contributor

@mivanac mivanac commented May 15, 2019

Coding impacts, to add support of 2 phase commit to public interface.

@mivanac mivanac force-pushed the feature/GEODE-6641 branch from 8880fe1 to 0848ee6 Compare May 16, 2019 05:05
Copy link
Copy Markdown
Contributor

@jake-at-work jake-at-work left a comment

Choose a reason for hiding this comment

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

I’m concerned with the TX interface having both the 1 phase and 2 phase commit on it. Does it work that we can really do both from the same interface. Can I call begin/commit and begin/prepare/commit without issue interchangeably?

@mivanac
Copy link
Copy Markdown
Contributor Author

mivanac commented May 24, 2019

So, should I add some tests to verify there is no problems, or return old interface, and make it public?

@jake-at-work
Copy link
Copy Markdown
Contributor

Yes you should make sure there are tests for this. I don’t think there is much in the way of tests around either of these two transaction types.

@mivanac mivanac force-pushed the feature/GEODE-6641 branch 2 times, most recently from 3ecf5bf to 75c8da8 Compare May 25, 2019 14:33
@mivanac mivanac force-pushed the feature/GEODE-6641 branch 2 times, most recently from 5e95a0f to 115b7e8 Compare June 6, 2019 21:03
@@ -0,0 +1,659 @@
/*
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe you misunderstood my previous ask. This integration test should not be written in the old integration test framework. Please put in the new framework. See cppcache/integration/test for examples.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated

@mivanac mivanac force-pushed the feature/GEODE-6641 branch 3 times, most recently from c14aeb0 to e8b50a1 Compare July 4, 2019 07:25
@mivanac mivanac force-pushed the feature/GEODE-6641 branch from e8b50a1 to 17c922c Compare July 4, 2019 09:36
@jake-at-work jake-at-work merged commit 7c5fe5b into apache:develop Jul 9, 2019
@mivanac mivanac deleted the feature/GEODE-6641 branch July 9, 2019 16:39
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.

2 participants