0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-23 22:27:35 -05:00
zot/pkg/extensions/sync
Ramkumar Chinchani d2aa016cdb storage: flush/sync contents to disk on file close
Behavior controlled by configuration (default=off)
It is a trade-off between performance and consistency.

References:
[1] https://github.com/golang/go/issues/20599

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-02-07 12:08:01 -08:00
..
on_demand.go sync: periodically retry if on-demand fails inline, closes #281 2022-02-07 09:04:13 -08:00
sync.go sync: periodically retry if on-demand fails inline, closes #281 2022-02-07 09:04:13 -08:00
sync_internal_test.go storage: flush/sync contents to disk on file close 2022-02-07 12:08:01 -08:00
sync_test.go sync: periodically retry if on-demand fails inline, closes #281 2022-02-07 09:04:13 -08:00
utils.go storage: flush/sync contents to disk on file close 2022-02-07 12:08:01 -08:00