From a6a15d784b21a8147f059c37e6daf42c99bc2477 Mon Sep 17 00:00:00 2001 From: Kevin Bates Date: Mon, 10 Feb 2025 12:06:13 -0800 Subject: [PATCH] fix: Boltdb doesn't support multiple instances against same db with local filesystem (#190) * Document that Boltdb doesn't support multiple instances against same db with local filesystem * Move warning to cache drivers/BoltDB section - per review --- docs/articles/storage.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/articles/storage.md b/docs/articles/storage.md index 57723dad..2d8636f5 100644 --- a/docs/articles/storage.md +++ b/docs/articles/storage.md @@ -373,6 +373,9 @@ If you don't specify a cache driver, zot defaults to [BoltDB](https://dbdb.io/db In this example, BoltDB can be found at /tmp/zot/cache.db. +> :warning: +> Because BoltDB does not provide concurrent access for writes, multiple instances/replicas of zot are not supported with a BoltDB configuration. + ### DynamoDB To use [DynamoDB](https://aws.amazon.com/dynamodb/) as the cache driver, the following storage configuration must be present: