Re: A question about ACID guarantees Saga provides

2018-03-12 Thread Daniel Qian
gt; [3] https://en.wikipedia.org/wiki/ACID > [4] https://github.com/apache/incubator-servicecomb-saga > > > Best Regards! > Eric Lee > > 2018-03-09 15:59 GMT+08:00 Daniel Qian <chanjars...@gmail.com>: > > > Hello guys: > > > > I read the amazing blog &

Re: A question about ACID guarantees Saga provides

2018-03-13 Thread Daniel Qian
think this is why the Saga pattern relax the "ISOLATION" > attribute from the ACID. > > I hope it could be helpful for you to understand the Saga transaction. > > 2018-03-12 16:47 GMT+08:00 Daniel Qian <chanjars...@gmail.com>: > >> Thanks for reply. >> >

Re: A question about ACID guarantees Saga provides

2018-03-14 Thread Daniel Qian
> 我现在想到的办法是让Alpha直接调用App 1.0提供的恢复服务接口。 > 如果App1.0的服务接口是幂等的且无状态的话,那我们还是能够做到事务的最终一致。 > > > > > Willem Jiang > > Blog: http://willemjiang.blogspot.com (English) > http://jnn.iteye.com (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > On Wed, Mar

A question about ACID guarantees Saga provides

2018-03-09 Thread Daniel Qian
use it's state store provides C and D". I think Saga pattern actually does not guarantee either of A, C, I or D. Am I right? -- Daniel Qian

Re: A question about ACID guarantees Saga provides

2018-03-13 Thread Daniel Qian
p://willemjiang.blogspot.com (English) > http://jnn.iteye.com (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > On Tue, Mar 13, 2018 at 2:33 PM, Daniel Qian <chanjars...@gmail.com> wrote: > >> Hi Willem Jiang, thanks for your reply. >> >> I'

Re: [Discussion] compatible TCC support in Saga

2018-04-06 Thread Daniel Qian
imply return the >> value >> > in >> > > > the actual table which is the original value before this transaction >> > > > executed. >> > > > Compensation: In try phase, use a temporal table to record the >> > > compensated >> > > > value and reduce the balance in the account. In commit phase, remove >> > the >> > > > temporal table. If anything goes wrong, it can execute the cancel >> > method >> > > > to recover the balance according to the temporal table and remove the >> > > > temporal table afterward. In this way, when a customer visits his/her >> > > > balance, we can do simple calculation of the value in actual table >> and >> > > > temporal table to return the origianl value before the transaction >> > > > executed. >> > > > >> > > > Within transaction ids in the table row, each create/update/delete >> > > > operation is idempotent and it simplies a lot of work to make sure >> > > > sub-transactions are idempotent. >> > > > >> > > > >> > > > Any other ideas or suggestions on the isolation support in Saga are >> > > > welcome. Thanks. >> > > > >> > > > >> > > > [1] https://lists.apache.org/list.html?dev@servicecomb.apach >> > > > e.org:lte=1M:a%20question%20about%20acid%20 >> > > > [2] http://design.inf.usi.ch/sites/default/files/biblio/rest-tcc.pdf >> > > > >> > > > >> > > > Best Regards! >> > > > Eric Lee >> > > > >> > > >> > >> -- Daniel Qian

Re: Discussion about SCB-668 reuse demo's docker-compose file to start acceptance test

2019-06-30 Thread Daniel Qian
> different JAVA options for different scenarios. > > [1]https://github.com/apache/servicecomb-pack/pull/486 > > > Willem Jiang > > Twitter: willemjiang > Weibo: 姜宁willem > > On Sun, Jun 30, 2019 at 1:48 PM Daniel Qian wrote: > > > > Hi guys, I

Discussion about SCB-668 reuse demo's docker-compose file to start acceptance test

2019-06-29 Thread Daniel Qian
tps://dmp.fabric8.io/#docker-compose -- Daniel Qian 博客:https://segmentfault.com/u/chanjarster github:https://github.com/chanjarster

Re: [VOTE] Release Apache ServiceComb Pack version 0.5.0

2019-08-24 Thread Daniel Qian
t; > > Voting will start now ( Thursday, 22nd August, 2019) and will remain open > > for at-least 72 hours, Request all PMC members to give their vote. > > > > [ ] +1 Release this package as 0.5.0 > > [ ] +0 No Opinion > > [ ] -1 Do not release this package because > > > > On the behalf of ServiceComb Team > > Mohammad Asif Siddiqui > > -- Daniel Qian 博客:https://segmentfault.com/u/chanjarster github:https://github.com/chanjarster

Re: [DISCUSSION] Async support for Saga

2019-07-30 Thread Daniel Qian
Async invocation if the Saga transaction > > >>> is timeout or close the Saga transaction if all the TxAsyncStart > > >>> transaction is finished. > > >>> > > >>> Any thoughts? > > >>> > > >>> Willem Jiang > &

[DISCUSSION] Async support for Saga

2019-07-20 Thread Daniel Qian
(TxContext); TxContext is just a immutable dto like this: public class TxContext { private final String globalTxId; private final String localTxId; } Above is a just a rough idea. So any thoughts? -- Daniel Qian 博客:https://segmentfault.com/u/chanjarster github:https://github.com/chanjarster

Re: [DISCUSSION] Async support for Saga

2019-07-21 Thread Daniel Qian
lready have some internal API to send the message from Omega to > Alpha, I prefer to use annotation instead of expose low level API to > the user. > > Willem Jiang > > Twitter: willemjiang > Weibo: 姜宁willem > > On Sat, Jul 20, 2019 at 9:50 PM Daniel Qian wrote: > > &

Re: [DISCUSSION] Async support for Saga

2019-07-23 Thread Daniel Qian
t; > > In term of the compensation method, I think I had discussed with > > Willem > > > > > before that it could introduce the @Status annotation for the alpha > > > > server > > > > > to query the compensation status. When the compensation met

Re: [DISCUSSION] Async support for Saga

2019-07-24 Thread Daniel Qian
est case to verify it). > > > > Willem Jiang > > > > Twitter: willemjiang > > Weibo: 姜宁willem > > > > On Wed, Jul 24, 2019 at 12:27 PM Daniel Qian > > wrote: > > > > > > Thanks for sharing your thoughts, Willem. But I didn't rea

Re: [DISCUSSION] Async support for Saga

2019-07-25 Thread Daniel Qian
} Zhang Lei 于2019年7月25日周四 下午4:46写道: Zhang Lei 于2019年7月25日周四 下午4:46写道: > > Hi, Daniel Qian > > Are you talking about the asynchronous problem with the @SagaStart and > @Compensable methods on the Omega side? I think this is a typical long > transaction scene. > > Alph

Re: [DISCUSSION] Async support for Saga

2019-07-22 Thread Daniel Qian
NSATING result and the alpha server could query the @Status method to > check the compensation status, if this method returns COMPENSATE_OK, the > alpha server will mark the local transaction is compensated otherwise will > mark it with compensate_failed. > > Daniel Qian 于2019年7月21日周日 下午

Re: [DISCUSSION][Toolkit] Integrate oas-validator compability check functionality

2019-11-04 Thread Daniel Qian
" > > > Wishes & Regards > --- > Mabin > > > > Willem Jiang 于2019年11月1日周五 下午12:31写道: > > > I think we can support checkcompatibility and the short one cc at the same > > time. > > Any thoughts? > > > > Willem Jiang > >

Re: [DISCUSSION][Toolkit] Integrate oas-validator compliance functionality

2019-11-04 Thread Daniel Qian
Hi Ma, since we discussed about compatibility check sub command to be: cc / checkcompatibility .[1] So, we can also use cs / checkstyle here. [1]: https://lists.apache.org/thread.html/c88cda03ec52182482679bd9be36b9ad57bc8d03ee43a4912ad38d90@%3Cdev.servicecomb.apache.org%3E Daniel Qian 于2019年11

Re: [DISCUSSION][Toolkit] Integrate oas-validator compability check functionality

2019-11-04 Thread Daniel Qian
gt; > sen sun 于2019年11月5日周二 上午9:40写道: > > > I think Ma just made an example of the option naming style instead of the > > subcommand. > > I think it's a good idea to support both checkcompatibility and cc as > > subcommands. > > > > Daniel Qian 于2019年11月5日

[DISCUSSION] Suggestion about migrate to travis-pro

2019-11-05 Thread Daniel Qian
-- Daniel Qian 博客:https://segmentfault.com/u/chanjarster github:https://github.com/chanjarster

Re: [DISCUSSION] Suggestion about migrate to travis-pro

2019-11-05 Thread Daniel Qian
t in this group. > > We may consider to use jenkins that Apache provide here[1] > > [1]https://builds.apache.org/ > > Willem Jiang > > Twitter: willemjiang > Weibo: 姜宁willem > > On Wed, Nov 6, 2019 at 1:39 PM Daniel Qian wrote: > > > > Hi all, > >

Re: [ANN] New ServiceComb committer: Daniel Qian (钱嘉)

2019-11-07 Thread Daniel Qian
g > 主题: Re: [ANN] New ServiceComb committer: Daniel Qian (钱嘉) > > Congratulations!!! > > Willem Jiang 于2019年11月8日周五 上午8:03写道: > > > Please join me and the rest of the ServiceComb PMC members in > > welcoming our new ServiceComb committer: Daniel Qian (钱嘉) > > >

Re: [DISCUSSION][Toolkit] Integrate oas-validator compliance functionality

2019-11-01 Thread Daniel Qian
com/apache/servicecomb-toolkit/blob/import-oas-validator/oas-validator/README.md#%E5%90%88%E8%A7%84%E6%80%A7%E6%A0%A1%E9%AA%8C > > > > -- > > Daniel Qian > > > > 博客:https://segmentfault.com/u/chanjarster > > github:https://github.com/chanjarster -- Daniel Qian 博客:https://segmentfault.com/u/chanjarster github:https://github.com/chanjarster

[DISCUSSION][Toolkit] Oas validator style check rule config file format

2019-11-14 Thread Daniel Qian
://issues.apache.org/jira/projects/SCB/issues/SCB-1580 [2] https://gist.github.com/chanjarster/1b15cb781fcc91e2cd293fcc2b1682d2 [3] https://github.com/apache/servicecomb-toolkit/blob/c0baf5dff7d408d414bd40238b6849302ecc5b55/oas-validator/README.md#style-check-rules -- Daniel Qian Apache Committer(chanjarster

[ANN] ServiceComb Toolkit integrates with SonarCloud.io

2019-11-14 Thread Daniel Qian
/test.sh -- Daniel Qian Apache Committer(chanjarster) blog:https://chanjarster.github.io github:https://github.com/chanjarster segmentfault: https://segmentfault.com/u/chanjarster

Re: [ANN] ServiceComb Toolkit integrates with SonarCloud.io

2019-11-15 Thread Daniel Qian
Sure, no problem. Willem Jiang 于2019年11月15日周五 下午4:01写道: > > Cool, thanks for Daniel's help to setup the SonarCloud。 > I think we need to move on the other servicecomb subprojects. > Let's start from ServiceComb-Pack. @Daniel Qian Do you mind help us to do > that? > > Wil

[DISCUSSION][Toolkit] Roadmap

2019-11-17 Thread Daniel Qian
functions: such as cli, maven plugin, gradle plugin, eclipse plugin, intellij plugin. Partially implemented. Besides, should we still supporting Swagger 2.0? I think we should move on to OpenAPI 3.0. Any ideas are welcome. -- Daniel Qian Apache Committer(chanjarster) blog:https

Re: [DISCUSSION] About the static check for the source code of ServiceComb-Java-Chassis

2019-11-16 Thread Daniel Qian
f > ServiceComb-Java-Chassis and find several potential problems. > I want to raise an issue to fix these problems. The changes may be > distributed among a lot of source code files and they are all for code > style and complexity improvement. > Cause I've never handle such kind

Re: [DISCUSSION][Toolkit] Oas validator style check rule config file format

2019-11-17 Thread Daniel Qian
The yaml example I provided is too verbose, I wrote a properties file example: https://gist.github.com/chanjarster/1b15cb781fcc91e2cd293fcc2b1682d2#file-style-check-rules-properties Daniel Qian 于2019年11月15日周五 下午12:59写道: > > Hi toolkit team, > I'm working on SCB-1580[1] to make OAS st

Re: [DISCUSSION][Toolkit] Roadmap

2019-11-17 Thread Daniel Qian
do we want to include in the next release (0.2.0)? > > Daniel Qian 于2019年11月17日周日 下午9:14写道: > > > Hi toolkit team, > > > > We had a short talk on wechat about what should we do next on Toolkit > > project. I think before we start we should have a discussion ab

Re: [DISCUSSION][Toolkit] toolkit-maven-plugin integrate oas-validator

2019-11-17 Thread Daniel Qian
lugin in order to take > > advantage of it. > > > > What do you think? -- Daniel Qian Apache Committer(chanjarster) blog:https://chanjarster.github.io github:https://github.com/chanjarster segmentfault: https://segmentfault.com/u/chanjarster

Re: [DISCUSSION][Toolkit] Integrate oas-validator compability check functionality

2019-11-06 Thread Daniel Qian
> so I think we can start to merge the import-oas-validator branch to > master. > > Any thoughts? > > > Wishes & Regards > ------- > Mabin > > > > Daniel Qian 于2019年11月5日周二 下午1:39写道: > > > Hi Ma, got it. >

Re: [VOTE] Release Apache ServiceComb Toolkit version 0.2.0

2019-12-10 Thread Daniel Qian
> > > > This is a call for Vote to release Apache ServiceComb Toolkit version > > > 0.2.0 > > > > > > > > > > > > > > > Release Candidate : > > > > > > > > > > > > > > > https://dist.apache.org/

Re: [VOTE] Release Apache ServiceComb Toolkit version 0.2.0

2019-12-05 Thread Daniel Qian
ow ( Friday, 6nd Dec, 2019) and will remain open for > at-least 72 hours, Request all PMC members to give their vote. > > [ ] +1 Release this package as 0.2.0 > [ ] +0 No Opinion > [ ] -1 Do not release this package because > > On the behalf of ServiceComb Team > &g

Re: [VOTE] Accept oas-validator to ServiceComb

2019-10-16 Thread Daniel Qian
for at-least 72 hours, Request all PMC members to > give their vote. > [ ] +1 Accept > [ ] +0 No Opinion > [ ] -1 Reject because... > > [1] > https://lists.apache.org/thread.html/3fc8dae6faa2055dd59d600c9da8508360766ec361d81ec0ceefa8db@%3Cdev.servicecomb.apache.org%3E > >

Re: [DISCUSSION] How to import oas-validator to toolkit project

2019-10-28 Thread Daniel Qian
aster branch. > > > Willem Jiang > > Twitter: willemjiang > Weibo: 姜宁willem > > On Mon, Oct 28, 2019 at 2:24 PM Daniel Qian wrote: > > > > Since oas-validator donation process is finished (see this [1]) so > > next is to decide how to import oas-validator code

[DISCUSSION][Toolkit] Integrate oas-validator compliance functionality

2019-10-29 Thread Daniel Qian
be found here[2] [1] https://issues.apache.org/jira/projects/SCB/issues/SCB-1553 [2] https://github.com/apache/servicecomb-toolkit/blob/import-oas-validator/oas-validator/README.md#%E5%90%88%E8%A7%84%E6%80%A7%E6%A0%A1%E9%AA%8C -- Daniel Qian 博客:https://segmentfault.com/u/chanjarster github:https

[DISCUSSION][Toolkit] Integrate oas-validator compability check functionality

2019-10-29 Thread Daniel Qian
a abbr for it, such as cc? Any ideas? [1] https://issues.apache.org/jira/browse/SCB-1555 [2] https://github.com/apache/servicecomb-toolkit/blob/import-oas-validator/oas-validator/README.md#%E5%85%BC%E5%AE%B9%E6%80%A7%E6%A3%80%E6%9F%A5 -- Daniel Qian 博客:https://segmentfault.com/u/chanjarster

Re: [DISCUSSION][Toolkit] Prepare to release 0.2.0

2019-11-25 Thread Daniel Qian
e we need to discuss what needs to be done to get it to release > > > And I attach the information for reference. This is the roadmap for the > previous community discussions: > * > https://lists.apache.org/thread.html/5048ca4aa778b13952cefcd32ec25be24eb38eb8424f24c80340183b@%3Cdev.servic

Re: [DISCUSSION][Toolkit] Prepare to release 0.2.0

2019-11-27 Thread Daniel Qian
t; > > > > Shuo Chen 于2019年11月26日周二 下午3:54写道: > > > +1 looking forward to corresponding articles too > > > > Daniel Qian 于2019年11月26日周二 下午3:34写道: > > > > > +1 looking forward to toolkit 0.2.0 > > > > > > sen sun 于2019年11月26日周二 上午11

Re: [DISCUSSION] [Website] Add a link to the http://start.servicecomb.io/

2019-11-20 Thread Daniel Qian
victor chan wrote: > > > > http://start.servicecomb.io/ can help users easily use our projects, we > > should add an entrance on the official website to help users find it. > > Do you have any thoughts? -- Daniel Qian Apache Committer(chanjarster) blog:https://chanjarster.github.io

Re: [PROPOSAL] ServiceComb Toolkit Support OpenApi v3

2019-10-07 Thread Daniel Qian
> On Tue, Oct 8, 2019 at 10:42 AM sen sun wrote: > > > > The current project based on OpenAPI v2, But The OpenAPI specification has > > now been updated to the v3 version, so we need to follow it by update our > > project. > > > > > > Regards -- Daniel Qian 博客:https://segmentfault.com/u/chanjarster github:https://github.com/chanjarster

[PROPOSAL] Donate oas-validator to toolkit project

2019-10-09 Thread Daniel Qian
features: compliance check or style check and compatibility check. More information can be found on project github repository. We would like to donate oas-validator source code to be as a part of Servicecomb Toolkit. [1]: https://github.com/NewCapec-Institute/oas-validator -- Daniel Qian 博客

Re: [PROPOSAL] Donate oas-validator to toolkit project

2019-10-10 Thread Daniel Qian
e is not changed. > > I think we can start a vote in PMC to decide if we accept this > donation there is on any objection on this side. > > [1]https://github.com/NewCapec-Institute/oas-validator/blob/master/README.md > > > Willem Jiang > > Twitter: willemjiang > Weibo:

Re: [PROPOSAL] Donate oas-validator to toolkit project

2019-10-11 Thread Daniel Qian
clearance in the Apache Incubator. > > Willem Jiang > > Twitter: willemjiang > Weibo: 姜宁willem > > On Fri, Oct 11, 2019 at 8:36 PM Daniel Qian wrote: > > > > So I should sending the SGA next week after the voting? > > > > Willem Jiang 于2019年10月11日周

Re: [PROPOSAL] Donate oas-validator to toolkit project

2019-10-11 Thread Daniel Qian
mjiang > Weibo: 姜宁willem > > On Fri, Oct 11, 2019 at 8:44 AM Daniel Qian wrote: > > > > Hi Willem, thanks for the reply. > > What should I do next? For now, I'm preparing the SGA for donating. > > Should I change the package name to org.apache.servicecomb.to

[DISCUSSION][Toolkit] Large OpenAPI/Swagger yaml maintenance

2019-12-22 Thread Daniel Qian
that some teams use template engine to merge snippets into a final yaml. May be toolkit can do something helpful to make the life easier. Any ideas? -- Daniel Qian Apache Committer(chanjarster) blog:https://chanjarster.github.io github:https://github.com/chanjarster segmentfault: https://segmentfault.com

Re: [DISCUSSION][Toolkit] Large OpenAPI/Swagger yaml maintenance

2019-12-22 Thread Daniel Qian
; > Twitter: willemjiang > Weibo: 姜宁willem > > On Sun, Dec 22, 2019 at 8:52 PM Daniel Qian wrote: > > > > Hi toolkit guys, > > > > OpenAPI/Swagger yaml is a good standard to describe the APIs, but it's > > easy to get hundreds, even thousands lines in the

Re: [VOTE] Release Apache ServiceComb Java-Chassis version 2.0.0

2020-02-18 Thread Daniel Qian
org/repos/dist/dev/servicecomb/KEYS > > Voting will start now ( Monday, 27 February, 2020) and will remain openfor > at-least 72 hours, Request all PMC members to give their vote. > > [ ] +1 Release this package as 2.0.0 > [ ] +0 No Opinion > [ ] -1 Do not release

Re: [VOTE] Release Apache ServiceComb Java-Chassis version 2.0.0

2020-02-18 Thread Daniel Qian
07, Bao Liu wrote: > > This is a unit test case and I run both locally and travis CI fine. Do you > > have any details about the stuck? > > > > On 2020/02/18 12:31:27, Daniel Qian wrote: > > > I got stuck on > > > org.apache.servicecomb.metrics.core.TestVertx

Re: [VOTE] Release Apache ServiceComb Java-Chassis version 2.0.0

2020-02-19 Thread Daniel Qian
es.apache.org/jira/browse/SCB-1778 > > Anyway, I think this two problems are not blocking the release and the voting > can go on. > > On 2020/02/19 04:07:34, Daniel Qian wrote: > > Hi, Bao Liu > > > > I checked source code

Re: [VOTE] Release Apache ServiceComb Toolkit version 0.2.0 [RC2]

2020-01-02 Thread Daniel Qian
> > > > Release Notes : > > > > > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12321626=12346158 > > > > > > Keys to verify the Release Candidate : > > > https://dist.apache.org/repos/dist/dev/ser

Re: [VOTE] Release Apache ServiceComb Toolkit version 0.2.0 [RC2]

2020-01-02 Thread Daniel Qian
> Keys to verify the Release Candidate : > > https://dist.apache.org/repos/dist/dev/servicecomb/KEYS > > > > Voting will start now ( Tuesday, 31nd Dec, 2019) and will remain open for > > at-least 72 hours, Request all PMC members to give their vote. > > > >

Re: [ANN] New ServiceComb committer:Sun Lisen(孙丽森)

2019-12-22 Thread Daniel Qian
> servicecomb-java-chassis,servicecomb-website and > discussion techniques issue in the mailing list. Recently > he contributed key features such as OAIV3 and SpringCloud to > servicecomb-toolkit and commit on it frequently. > > Congratulations to Sun Lisen! Welcome! > > The

Re: [ANNOUNCE] Apache ServiceComb Toolkit version 0.2.0 Released

2020-01-06 Thread Daniel Qian
p://servicecomb.apache.org/ > > ServiceComb Usefull Links : > - Mailing lists: dev@servicecomb.apache.org > - JIRA : https://issues.apache.org/jira/browse/SCB > > > Best Wishes & Regards -- Daniel Qian Apache Committer(chanjarster) blog:https://chanjarster.github.io github:https://github.com/chanjarster segmentfault: https://segmentfault.com/u/chanjarster

Re: [Announce] New committer of ServiceComb

2020-05-09 Thread Daniel Qian
contributing patches for servicecomb-service-center, > servicecomb-mesher and servicecomb-kie. > Welcome humingcheng :) > > [1]http://github.com/humingcheng > > > Willem Jiang > > Twitter: willemjiang > Weibo: 姜宁willem -- Daniel Qian Apache Committer(chanjarst

Re: [Announce] New committer of ServiceComb

2021-03-02 Thread Daniel Qian
anwen (Github ID: robotLJW [1]) as a new > > committer of ServiceComb.has contributed features for > > servicecomb-service-center. > > Welcome luojianwen :) > > > > [1]https://github.com/robotLJW > > > > > > Xiaoliang Tian -- Daniel Qian Apache Committer(cha