You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jungtaek Lim (Jira)" <ji...@apache.org> on 2025/02/20 21:59:00 UTC

[jira] [Resolved] (SPARK-51097) Adding state store level metrics for last uploaded snapshot version in RocksDB

     [ https://issues.apache.org/jira/browse/SPARK-51097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jungtaek Lim resolved SPARK-51097.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 49816
[https://github.com/apache/spark/pull/49816]

> Adding state store level metrics for last uploaded snapshot version in RocksDB
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-51097
>                 URL: https://issues.apache.org/jira/browse/SPARK-51097
>             Project: Spark
>          Issue Type: Improvement
>          Components: Structured Streaming
>    Affects Versions: 4.0.0, 4.1.0
>            Reporter: Zeyu Chen
>            Assignee: Zeyu Chen
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> We currently lack detailed visibility into state store level state maintenance in RocksDB. This limitation affects the ability to identify performance degradation issues behind maintenance tasks. 
> To remediate this, we will introduce state store "instance" metrics to StreamingQueryProgress to track the latest snapshot version uploaded in RocksDB.
> This improvement addresses three challenges in observability:
>  * Uneven partition starvation, where we need to identify partitions with slow state maintenance,
>  * Finding missing snapshots across versions, so we minimize extensive replays during recovery,
>  * Identify performance instability, such as gaining insights into snapshot upload patterns



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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