rdblue commented on pull request #3663:
URL: https://github.com/apache/iceberg/pull/3663#issuecomment-987282389


   @CodingCat, adding the ability to use a lock doesn't need to require a 
dependency on iceberg-aws. The lock manager was built as an API and multiple 
implementations, including an in-memory implementation. The interface and 
in-memory implementation could be moved into core and you would then 
dynamically load your preferred lock manager. That avoids the circular 
dependency and adds very similar functionality to what you're doing here out of 
the box.
   
   Regarding the use case, I understand wanting to have no dependency other 
than the object store. I think the right way to do that is to coordinate 
writers, whether those are threads or processes. If you choose to go with the 
in-memory lock manager and risk data loss that's up to you -- to your point, 
you would have reached parity so you may not want full locking.


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