Since FoundationDB is essentially a one large key value store there is a huge risk of misconfiguration or just human error during building our own layers.
One of the most risky operations is range clear. Are there any best practices to avoid wiping all data (imagine just forgetting to pack prefix!). Right now i am building a library for nodejs for easier layer implementations and one of the goals is to provide safe way to do experiments. Until today we just didn’t have clearRange at all and it worked fine since other way of corrupting data is much more complicated (writing data to wrong keys is not that easy).
Does anyone have other ideas?