From db3be9251d95b15bb4dc49095b7d5c69258ba3e4 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 2 Aug 2019 07:35:18 +0200 Subject: [PATCH] README: clarify indices are not stored in separate files --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index b5a60ab..4febddf 100644 --- a/README +++ b/README @@ -19,7 +19,8 @@ lookups. To support quick lookups, in O(log n), the files utilize indices. Nsscash is very careful when deploying the changes: - All files are updated using the standard "write to temporary file", "sync", - "rename" steps which is atomic on UNIX file systems. + "rename" steps which is atomic on UNIX file systems. The indices are stored + in the same file preventing stale data during the update. - All errors cause an immediate abort ("fail fast") with a proper error message and a non-zero exit status. This prevents hiding possibly important errors. In addition all files are fetched first and then deployed to try to -- 2.45.2