Thanks Anu and Steven for the suggestion. Granting a lease to client
sounds like a more controllable way.

However, if I understand correctly, clients don't talk to SCM directly.
Does it mean OM has to relay the renew lease request to SCM?
Is there a better way to implement it?

Regards
Kaijie

 ---- On Sat, 10 Sep 2022 01:10:28 +0800  anu engineer  wrote --- 
 > Extending the same thought from Steven. If you are going to do a small
 > delay, it is better to do it via a Lease.
 > 
 > So SCM could offer a lease for 60 seconds, with a provision to reacquire
 > the lease one more time.
 > This does mean that a single container inside the data node technically
 > could become larger than 5GB (but that is possible even today).
 > 
 > I do think a lease or a timeout based approach (as suggested by Steven)
 > might be easier than pre-allocating blocks.
 > 
 > Thanks
 > Anu

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ozone.apache.org
For additional commands, e-mail: dev-h...@ozone.apache.org

Reply via email to