[ https://issues.apache.org/jira/browse/SPARK-31013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gengliang Wang resolved SPARK-31013. ------------------------------------ Fix Version/s: 3.1.0 Resolution: Fixed This issue is resolved in https://github.com/apache/spark/pull/27763. > InMemoryStore: improve removeAllByIndexValues over natural key index > -------------------------------------------------------------------- > > Key: SPARK-31013 > URL: https://issues.apache.org/jira/browse/SPARK-31013 > Project: Spark > Issue Type: Improvement > Components: Spark Core, Web UI > Affects Versions: 3.1.0 > Reporter: Gengliang Wang > Assignee: Gengliang Wang > Priority: Minor > Fix For: 3.1.0 > > > The method `removeAllByIndexValues` in KVStore is to delete all the objects > which have certain values in the given index. > However, in the current implementation of `InMemoryStore`, when the given > index is the natural key index, there is no special handling for it and a > linear search over all the task data is performed. > We can improve it by deleting the natural keys directly from the internal > hashmap. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org