You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/03/02 23:32:16 UTC

[GitHub] [spark] gengliangwang commented on a change in pull request #27763: [SPARK-31013][Core][WebUI] InMemoryStore: improve removeAllByIndexValues over natural key index

gengliangwang commented on a change in pull request #27763: [SPARK-31013][Core][WebUI] InMemoryStore: improve removeAllByIndexValues over natural key index
URL: https://github.com/apache/spark/pull/27763#discussion_r386714827
 
 

 ##########
 File path: common/kvstore/src/main/java/org/apache/spark/util/kvstore/InMemoryStore.java
 ##########
 @@ -271,9 +276,9 @@ public void put(T value) throws Exception {
       }
     }
 
-    public void delete(Object key) {
-      data.remove(asKey(key));
-      if (hasNaturalParentIndex) {
+    public Boolean delete(Object key) {
 
 Review comment:
   Ah, right.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org