linkedin / ambry

Distributed object store
https://github.com/linkedin/ambry/wiki
Apache License 2.0
1.74k stars 275 forks source link

[Paranoid Durability] Add new container field for paranoid durability. #2805

Closed litingulfs closed 2 months ago

litingulfs commented 2 months ago

This PR adds a new field for paranoid durability to Ambry's Container class. The paranoid durability feature applies to PUTs/writes, and requires a minimum of one replica in a remote colo to acknowledge a write before returning success. We want this feature to be used sparingly, since it will add additional latency and cross-colo I/O to all writes. Therefore, the default setting for all containers is false (i.e. paranoid durability is OFF by default). So this new setting will need to be explicitly turned on for each container that wants to use it.