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 2023/10/26 03:43:00 UTC

[jira] [Updated] (SPARK-45669) Ensure the continuity of rolling log index

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

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

> Ensure the continuity of rolling log index
> ------------------------------------------
>
>                 Key: SPARK-45669
>                 URL: https://issues.apache.org/jira/browse/SPARK-45669
>             Project: Spark
>          Issue Type: Task
>          Components: Spark Core
>    Affects Versions: 3.5.0
>            Reporter: shuyouZZ
>            Priority: Major
>              Labels: pull-request-available
>
> Current the log file index will increment before running `initLogFile()`. When running `rollEventlogFile()`, the index will increment first, then create new log file to init event log writer.
>  
> If the log file creation fails, `initLogFile()` will throw an exception and stop running the method. The log file index will still increment next time `rollEventLogFile()` is called,
> which will cause the file index to become discontinuous. EventLogFileReader can not read the event log files normally.
>  
> Therefore, we need to update the logic here to ensure the continuity of rolling log index 



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