You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/11/10 23:43:00 UTC

[jira] [Updated] (SPARK-54290) Skip checksum creation if path already exists without checksum

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

ASF GitHub Bot updated SPARK-54290:
-----------------------------------
    Labels: pull-request-available  (was: )

> Skip checksum creation if path already exists without checksum
> --------------------------------------------------------------
>
>                 Key: SPARK-54290
>                 URL: https://issues.apache.org/jira/browse/SPARK-54290
>             Project: Spark
>          Issue Type: Task
>          Components: Structured Streaming
>    Affects Versions: 4.2.0
>            Reporter: Dylan Wong
>            Priority: Major
>              Labels: pull-request-available
>
> Consider the case using STATE_STORE_CHECKPOINT_FORMAT_VERSION = 1 when a batch fails but state files are written. If on the next run, we try to upload both a new state file and a file checksum, the file could fail to be uploaded but the file checksum is uploaded successfully. This would lead to a situation where the old file could be loaded and compared with the new file checksum, which would fail the checksum verification. This issue does not happen when STATE_STORE_CHECKPOINT_FORMAT_VERSION = 2 since each batch run unique ids will be created.



--
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