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

   ## Summary
   
   - defer pending-lock cleanup from the point where Hive returns a lock ID 
until ownership is transferred to `HiveLock`
   - detach cleanup from caller cancellation while preserving context values, 
with a five-second timeout
   - join unlock failures with the primary acquisition error instead of 
discarding them
   
   ## Why
   
   The cancellation path passed an already-canceled context to `Unlock`, so a 
real metastore client could reject cleanup without sending it and leave the 
pending lock behind. Check failures and retry exhaustion also discarded cleanup 
errors.
   
   ## Testing
   
   - `go test ./catalog/hive`
   - `go vet ./catalog/hive`
   - repository package suite excluding the locally hanging `io/gocloud` test 
binary
   


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