OCFL / ocfl-java

A Java OCFL implementation
MIT License
18 stars 12 forks source link

change s3 lock implementation #36

Closed pwinckles closed 3 years ago

pwinckles commented 3 years ago

Change the S3 db lock to not lock a row or hold a connection open. Instead, write a record that indicates the lock is held. Fail if the record already exists and indicates a hold. Partial solution for the problem of not releasing a lock, holds are only valid for an hour (or a configurable duration).