Github user gokulavasan commented on a diff in the pull request:
https://github.com/apache/incubator-tephra/pull/42#discussion_r117363141
--- Diff:
tephra-core/src/main/java/org/apache/tephra/TransactionManager.java ---
@@ -763,15 +781,22 @@ private long getNextWritePointer() {
* transaction moves it to the invalid list because we assume that its
writes cannot be rolled back.
*/
public Transaction startLong() {
+ return startLong(null);
+ }
+
+ /**
+ * Starts a long transaction with a client id.
+ */
+ public Transaction startLong(String clientId) {
--- End diff --
@poornachandra Sure sounds good. I will add a Precondition check for String
not being null.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---