From caee58c88491e7ee93d6acf03030de4a0d3f611b Mon Sep 17 00:00:00 2001 From: Erik Arvidsson Date: Fri, 5 May 2023 15:40:39 +0200 Subject: [PATCH] fix: Indexes with prefix should match the prefix (#538) When we create new index after forking a client we create the indexes by iterating over the value BTree. When there is a prefix present we start from the prefix but we forgot to end when the key no longer matches the prefix, leading the index map to contain items that do not match the index constraints.