lszskye opened a new pull request, #465:
URL: https://github.com/apache/paimon-cpp/pull/465

   ### Purpose
   
   Global index builds remove checkpoints after successful completion, but a 
process crash can leave files behind. Add 
`GlobalIndexWriteTask::DeleteCheckpoint` to recursively remove all leftovers 
for a task once it is no longer running or being retried.
   
   Linked issue: #382 
   
   ### Tests
   
   - `FileStorePathFactoryTest.*` and `GlobalIndexFileManagerTest.*`:
   - `GlobalIndexTest.TestWriteLuminaIndexWithCheckpoint`
   - Lumina checkpoint and tag-filter tests
   
   ### API and Format
   
   Add the public API:
   
   `GlobalIndexWriteTask::DeleteCheckpoint(table_path, task_id, options, 
file_system)`
   
   Task IDs must be unique within a table. 
   
   ### Documentation
   
   Add checkpoint cleanup usage and task ID requirements to the global index 
user guide.
   
   ### Generative AI tooling
   
   Generated-by: OpenAI Codex (GPT-6)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to