xleoken opened a new pull request, #2037:
URL: https://github.com/apache/incubator-celeborn/pull/2037

   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     - Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] 
Your PR title ...'.
     - Be sure to keep the PR description updated to reflect all changes.
     - Please write your PR title to summarize what this PR proposes.
     - If possible, provide a concise example to reproduce the issue for a 
faster review.
   -->
   
   ### What changes were proposed in this pull request?
   
   To complement the functionality of ratis, we added 
SimpleStateMachineStorageUtil class to the module, which contains two 
functions, one is findLatestSnapshot and the other is getSmDir. We can 
implement these functions in a more elegant way.
   
   ### How was this patch tested?
   
   Local tested. 3 master with 1 worker.
   
   **Test case one**
   
   After patch, we can get the correct tmp directory as before.
   
![image](https://github.com/apache/incubator-celeborn/assets/95013770/c801c159-9f3b-4197-806a-306083d5101c)
   
   **Test case two**
   I stop one of the masters and clean up the ratis data directory, then 
restart the stopped master, everything works fine.
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to