apache / servicecomb-pack

Apache ServiceComb Pack is an eventually data consistency solution for micro-service applications. ServiceComb Pack currently provides TCC and Saga distributed transaction co-ordination solutions by using Alpha as a transaction coordinator and Omega as an transaction agent .
https://servicecomb.apache.org/
Apache License 2.0
1.93k stars 436 forks source link

官方C# demo 是.net core 2.1的 现在我升级到.net core 5.0 并且集成到我的项目中 CompensableAttribute 特性不执行 #725

Open www5255977 opened 2 years ago

www5255977 commented 2 years ago

查看源码 有特性 CompensableAttribute 用来标识回退 跟当前执行方法的特性, 并上传至 saga协调器 但是我升级到.net core 5.0 后 此特性一直不执行 希望各位能支持一下, 我司考虑集成到生产环境。

[Compensable(nameof(CancelTestSaga))] public void TestSaga(long Id) { throw new ArgumentException("test CancelTestSaga serivice error");
}

    void CancelTestSaga(long Id)
    {
        Console.WriteLine("测试CancelCarPost");
    }  
coolbeevip commented 2 years ago

Sorry, there is nothing I can do, the C# version of the Saga client comes from https://github.com/OpenSagas-csharp/servicecomb-saga-csharp.

@withlin Do you have any suggestions?

www5255977 commented 2 years ago

抱歉,我无能为力,Saga 客户端的 C# 版本来自https://github.com/OpenSagas-csharp/servicecomb-saga-csharp

@withlin 你有什么建议吗? 能告知一下 C# 客户端是哪位大佬 提供的吗

withlin commented 2 years ago

@coolbeevip @www5255977 sorry, I haven't developed c# language for a long time.

www5255977 commented 2 years ago

https://github.com/OpenSagas-csharp/servicecomb-saga-csharp。 为什么我打开这个地址 是404呢

WillemJiang commented 2 years ago

https://github.com/OpenSagas-csharp/servicecomb-saga-csharp。 为什么我打开这个地址 是404呢

正确的地址是 https://github.com/OpenSagas-csharp/servicecomb-saga-csharp