You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/06/13 09:09:10 UTC
[servicecomb-pack] branch master updated: SCB-1317 Set the
TxEvent's surrogateId to be null by default
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
The following commit(s) were added to refs/heads/master by this push:
new 1cc1b21 SCB-1317 Set the TxEvent's surrogateId to be null by default
1cc1b21 is described below
commit 1cc1b212fb0e88cdffcfec1c700033e51d94d2a2
Author: Willem Jiang <wi...@gmail.com>
AuthorDate: Thu Jun 13 12:53:58 2019 +0800
SCB-1317 Set the TxEvent's surrogateId to be null by default
---
.../src/main/java/org/apache/servicecomb/pack/alpha/core/TxEvent.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/alpha/alpha-core/src/main/java/org/apache/servicecomb/pack/alpha/core/TxEvent.java b/alpha/alpha-core/src/main/java/org/apache/servicecomb/pack/alpha/core/TxEvent.java
index 9d67259..52c4fc3 100644
--- a/alpha/alpha-core/src/main/java/org/apache/servicecomb/pack/alpha/core/TxEvent.java
+++ b/alpha/alpha-core/src/main/java/org/apache/servicecomb/pack/alpha/core/TxEvent.java
@@ -95,7 +95,7 @@ public class TxEvent {
String retryMethod,
int retries,
byte[] payloads) {
- this(-1L, serviceName, instanceId, new Date(), globalTxId, localTxId, parentTxId, type, compensationMethod, timeout,
+ this(null, serviceName, instanceId, new Date(), globalTxId, localTxId, parentTxId, type, compensationMethod, timeout,
retryMethod, retries, payloads);
}
@@ -112,7 +112,7 @@ public class TxEvent {
String retryMethod,
int retries,
byte[] payloads) {
- this(-1L, serviceName, instanceId, creationTime, globalTxId, localTxId, parentTxId, type, compensationMethod,
+ this(null, serviceName, instanceId, creationTime, globalTxId, localTxId, parentTxId, type, compensationMethod,
timeout, retryMethod, retries, payloads);
}