laskoviymishka opened a new pull request, #2357:
URL: https://github.com/apache/iceberg-go/pull/2357

   Snapshot.Manifests, ManifestFile.Entries, iceberg.EntriesWithProjection, 
dv.ReadDV and dv.ReadDVs opened files with context.Background(), so a stalled 
open on these read paths couldn't be cancelled. They now take a context.Context 
first argument and pass it to IO.Open.
   
   Callers pass the context they already have: scan planning, commits and 
conflict validation (conflictContext now keeps the commit's context), snapshot 
producers, rewrite-manifests, metadata tables and the CLI. New tests check that 
the caller's context reaches IO.Open for each function.
   
   io.StatIO.Stat still takes no context, so sizing embedded manifests through 
Stat is not covered.
   
   Refs #2062.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to