Repository navigation
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces job-level checkpointing support for Iceberg writes in APPEND mode in Ray Data. It adds IcebergCheckpointDatasink to coordinate row checkpoints with Iceberg snapshot commits, along with IcebergCheckpointState to manage operation-level checkpoint states. The planner is updated to route Iceberg writes to a pending checkpoint transform, and load_checkpoint is modified to exclude pending files during restoration. The feedback focuses on optimizing filesystem I/O during checkpoint resolution by batching get_file_info calls and passing pre-listed checkpoints to promote_operation and discard_operation to avoid redundant directory listings and multiple filesystem roundtrips.
…oint restore (#66387) ## Description During checkpoint restoration, instead of passing the entire checkpoint directory, which may contain pending files, pass only the committed `.parquet`. ## Related issues Related to #59870 ## Additional information This isn't directly part of supporting iceberg checkpointing, but was teased out of the implementation / added first, so it can be merged without concern of iceberg-related items. Stack: - #66387 (you are here) - #66503 - #66504 - #66505 Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
Signed-off-by: Schuyler Mortimer <[email protected]>
bb42e25 to
ebc4528
Compare
Signed-off-by: Schuyler Mortimer <[email protected]>
|
Congratulations on landing [1/4] (#66387)! I've been following this series closely — I filed #66491 after hitting the same problem on the Paimon side: row checkpoints are persisted right after Paimon maps well onto the protocol taking shape here: snapshots carry a native commit identity ( Happy to help bring this pattern to Paimon once the rest of the stack lands — glad to start on a PR following the same structure if that would be useful. |
…oint restore (ray-project#66387) ## Description During checkpoint restoration, instead of passing the entire checkpoint directory, which may contain pending files, pass only the committed `.parquet`. ## Related issues Related to ray-project#59870 ## Additional information This isn't directly part of supporting iceberg checkpointing, but was teased out of the implementation / added first, so it can be merged without concern of iceberg-related items. Stack: - ray-project#66387 (you are here) - ray-project#66503 - ray-project#66504 - ray-project#66505 Signed-off-by: Schuyler Mortimer <[email protected]>
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
|
This pull request has been automatically closed because there has been no more activity in the 14 days Please feel free to reopen or open a new pull request if you'd still like this to be addressed. Again, you can always ask for help on our discussion forum or Ray's public slack channel. Thanks again for your contribution! |
Description
Enable checkpoint recovery for Iceberg APPEND writes. Workers publish row-ID checkpoints after writing data files, then the driver promotes them only after confirming an operation-marked Iceberg snapshot. Definite pre-commit failures discard pending checkpoints and recompute rows, while ambiguous successful commits recover from the snapshot marker without appending duplicates.
Related issues
Related to #59870
Additional information
Iceberg Checkpointing Stack: