This is an automated email from the ASF dual-hosted git repository.

zuston pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/branch-0.9 by this push:
     new fc55f7e7b [MINOR] fix(typo): Correct the removeShuffle method name 
(#1697)
fc55f7e7b is described below

commit fc55f7e7b44823f5d402ef838a9132f6b2c960e2
Author: RickyMa <[email protected]>
AuthorDate: Mon May 13 12:09:36 2024 +0800

    [MINOR] fix(typo): Correct the removeShuffle method name (#1697)
    
    ### What changes were proposed in this pull request?
    
    remoteShuffle -> removeShuffle
    
    ### Why are the changes needed?
    
    Fix spelling errors.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Existing UTs.
---
 .../src/main/java/org/apache/uniffle/storage/common/LocalStorage.java   | 2 +-
 .../main/java/org/apache/uniffle/storage/common/LocalStorageMeta.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/storage/src/main/java/org/apache/uniffle/storage/common/LocalStorage.java 
b/storage/src/main/java/org/apache/uniffle/storage/common/LocalStorage.java
index 756170973..f2c79ac1d 100644
--- a/storage/src/main/java/org/apache/uniffle/storage/common/LocalStorage.java
+++ b/storage/src/main/java/org/apache/uniffle/storage/common/LocalStorage.java
@@ -230,7 +230,7 @@ public class LocalStorage extends AbstractStorage {
     LOG.info("Start to remove resource of {}", shuffleKey);
     try {
       metaData.updateDiskSize(-metaData.getShuffleSize(shuffleKey));
-      metaData.remoteShuffle(shuffleKey);
+      metaData.removeShuffle(shuffleKey);
       LOG.info(
           "Finish remove resource of {}, disk size is {} and {} shuffle 
metadata",
           shuffleKey,
diff --git 
a/storage/src/main/java/org/apache/uniffle/storage/common/LocalStorageMeta.java 
b/storage/src/main/java/org/apache/uniffle/storage/common/LocalStorageMeta.java
index 056ca4f6b..0cb80d4c1 100644
--- 
a/storage/src/main/java/org/apache/uniffle/storage/common/LocalStorageMeta.java
+++ 
b/storage/src/main/java/org/apache/uniffle/storage/common/LocalStorageMeta.java
@@ -71,7 +71,7 @@ public class LocalStorageMeta {
     }
   }
 
-  public void remoteShuffle(String shuffleKey) {
+  public void removeShuffle(String shuffleKey) {
     shuffleMetaMap.remove(shuffleKey);
   }
 

Reply via email to