SOFA Weekly|SOFA Open Source 5th Anniversary Event Registration, Layotto Conference Preview, Community Contributions of the Week & Featured Issues...

 SOFA WEEKLY | Weekly Featured 

8ac78e937edf0758b73ad30cb60637e1.jpeg

Filter the weekly essence of Q&A, and synchronize the progress of open source

Welcome to leave a message and interact~

SOFA Stack ( S calable  O pen  Financial Architecture Stack) is a financial-level cloud- native  architecture independently developed by Ant Group, which includes various components required to build a financial-level cloud-native architecture, including microservice R&D framework, RPC framework, and service registration Center, distributed timing tasks, current limiting/fusing framework, dynamic configuration push, distributed link tracking, Metrics monitoring measurement, distributed high-availability message queue, distributed transaction framework, distributed database proxy layer and other components are also in the financial The best practices tempered in the scene.

SOFAStack official website:  https://www.sofastack.tech

SOFAStack: https://github.com/sofastack

   Layotto meeting preview    

Layotto:

Subject: Layotto 2023-04-12 Community Meeting

Time: April 12 (next Wednesday) at 14:00

Membership password (DingTalk): 688 824 34655

Incoming call: +862759771621 (Mainland China) +8657128356288 (Mainland China)

Membership link: dingtalk://dingtalkclient/page/videoConfFromCalendar?confId=1cebca80-e8cd-4f26-b529-79bac0ce7493&appendCalendarId=1&calendarId=2344343024

issue:

- 2023 Open Source Summer - Topic/Mentor Recruitment #894;

- Discussion: Self-built various Components #902;

- Hope layotto provides high-performance communication and interaction capabilities #867.

" Layotto ":

https://github.com/mosn/layotto/issues/907

  Event Registration|SOFA Open Source 5th Anniversary  

  Community Contributions of the Week  

93b675fee8d4b5b3a2fd52fbc0c37801.png

  SOFAStack GitHub issue Featured  

This week, each project replied to a total of 2 issues

Welcome to submit issues on GitHub to interact with us

We will filter issues by 

Reply in the form of "SOFA WEEKLY"

1.@LSQGUANLIVV #1322

When upgrading from sofa2.3.5 to 3.6.3, an error is reported when starting the application, as shown in the figure below.

5fbdd3dce49325fce1121c101759619e.png

90ed99d2760bfdf896697968bc75e19f.png

cd24f6564fa06d5c98206b8adf7786fe.png

According to the point where the error was reported, I found that the applicationContext is null. Is there any new configuration that needs to be added here? Or what needs to be changed?

A: It may be the compatibility problem of the three packages sofa-boot / sofa-rpc-starter / sofa-rpc. After upgrading sofa-rpc, these three packages need to be upgraded at the same time. You can see if there is a version conflict through the pom dependency.

It is the default parent dependency of the sofaboot-enterprise-dependencies used, will this also conflict?

A: There is generally no problem with using the default one. I am worried that some configurations will overwrite the default configuration. In addition, the commercial version needs to consult the customer service of the commercial version, and the help that the open source community can provide is limited.

SOFARPC」:https://github.com/sofastack/sofa-rpc/issues/1322

2. @hanzhihua #956 

readCommittedUserLog may not get the data just written. When I was doing NodeTest testing, an error occurred in the test readCommittedUserLog method.

2f12f57c171dabfa2a270d7e1d40bb3b.png

I found that it is mainly after the log is written, but lastAppliedIndex is not updated at the atomic level, resulting in an error that cannot be read.

fc5c73bf035ede773f0ac3813aac9a93.png

A: Because onApplyit can be rolled back, it is impossible to update the lastAppliedIndex in real time. Only after confirming that this batch has not been rolled back or the correct log index of the rollback can it be updated. If you need onApplyto commit during the process, you can call the log iterator Iterator#commitmethod to confirm the log index of the current apply. Then you can call to readCommittedUserLogensure that it can be read, but the price is that you cannot roll back to the position before commit.

I would like to ask, what does onApply rollback mean? It means that the state machine apply is abnormal, or the obtained log is null, and how to roll back?

A: This method:

f64da398a922acce633a2a29daf7c4fe.png

SOFAJRaft」:https://github.com/sofastack/sofa-jraft/issues/956

   Recommended reading this week  

26fc3ea1d28b16fb31d519bfa16871d1.png

MoE Series (1) | How to use Golang to extend Envoy

2429b4560beba84bbb09bfdbe3ffea6d.png

Practice of SOFAJRaft in same-journey travel

af95719adb40bd7e67015a4acc666f8b.png

Tongsuo/Tongsuo|"Open Atom Open Source Foundation" visit

c3ddc9acb023cffb499e1a7ceafad37e.jpeg

How do you think about the multi-runtime architecture of Dapr and Layotto?

136cf702cef91471841961b1af4043e0.jpeg
d68679461c4db302d16a3b0a0bc4382a.pngClick " Read the original text " to participate in SOFA's 5th anniversary event~

Guess you like

Origin blog.csdn.net/SOFAStack/article/details/130023200