# Using FoundationDB

**URL:** https://forums.foundationdb.org/c/using-foundationdb/7.md

[Latest](https://forums.foundationdb.org/latest.md) · [Categories](https://forums.foundationdb.org/categories.md) · [Tags](https://forums.foundationdb.org/tags.md)

---

## [About the Using FoundationDB category](https://forums.foundationdb.org/t/about-the-using-foundationdb-category/18)

<div class="topic-metadata">

**Author:** [@davelester](https://forums.foundationdb.org/u/davelester)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 2:21pm UTC](https://forums.foundationdb.org/t/about-the-using-foundationdb-category/18 "2018-03-21T14:21:09Z")

</div>

Topics related to use of FoundationDB.

---

## [Anyone using release RPM or DEB packages, or tried them?](https://forums.foundationdb.org/t/anyone-using-release-rpm-or-deb-packages-or-tried-them/5466)

<div class="topic-metadata">

**Author:** [@ploxiln](https://forums.foundationdb.org/u/ploxiln)\
**Replies:** 4\
**Last updated:** [September 29, 2026, 1:55pm UTC](https://forums.foundationdb.org/t/anyone-using-release-rpm-or-deb-packages-or-tried-them/5466 "2026-09-29T13:55:05Z")

</div>

I’m working on release builds, artifacts, and packages (for the core foundationdb KV store), and wondering what people/organizations out there may be using the rpm or deb packages, or tried to use them. Are they useful, …

---

## [Count a range of keys](https://forums.foundationdb.org/t/count-a-range-of-keys/5189)

<div class="topic-metadata">

**Author:** [@cisaacson](https://forums.foundationdb.org/u/cisaacson)\
**Replies:** 9\
**Last updated:** [September 8, 2026, 3:57pm UTC](https://forums.foundationdb.org/t/count-a-range-of-keys/5189 "2026-09-08T15:57:08Z")

</div>

I have read many posts on how to count the keys in a key range, including the Java code that used offsets to skip through key values (from 2018). After reading more of the documentation, it does not seem the right way to…

---

## [Foundationdb-rs versions](https://forums.foundationdb.org/t/foundationdb-rs-versions/5456)

<div class="topic-metadata">

**Author:** [@cisaacson](https://forums.foundationdb.org/u/cisaacson)\
**Replies:** 0\
**Last updated:** [September 4, 2026, 12:52pm UTC](https://forums.foundationdb.org/t/foundationdb-rs-versions/5456 "2026-09-04T12:52:49Z")

</div>

We were using the rust 0.8.0 crate and things were performing well in release mode. We upgraded to 0.10.0 and saw as much as a 10x slowdown when retrieving many keys in a futures batch or a range. We are running foundati…

---

## [Taints and exclusions in fdb-kubernetes-operator](https://forums.foundationdb.org/t/taints-and-exclusions-in-fdb-kubernetes-operator/5331)

<div class="topic-metadata">

**Author:** [@jon](https://forums.foundationdb.org/u/jon)\
**Replies:** 8\
**Last updated:** [September 1, 2026, 6:28pm UTC](https://forums.foundationdb.org/t/taints-and-exclusions-in-fdb-kubernetes-operator/5331 "2026-09-01T18:28:53Z")

</div>

We’re running a FoundationDB cluster in EKS and are trying to develop a procedure for node group updates. Our first attempt ended poorly. The plan was: Trigger an automated node group update from the EKS side (see Und…

---

## [Storage pod excluded and deleted before replacement is scheduled or healthy](https://forums.foundationdb.org/t/storage-pod-excluded-and-deleted-before-replacement-is-scheduled-or-healthy/5446)

<div class="topic-metadata">

**Author:** [@aleksbako](https://forums.foundationdb.org/u/aleksbako)\
**Replies:** 1\
**Last updated:** [September 1, 2026, 6:25pm UTC](https://forums.foundationdb.org/t/storage-pod-excluded-and-deleted-before-replacement-is-scheduled-or-healthy/5446 "2026-09-01T18:25:43Z")

</div>

Summary We have identified a case where the fdb-kubernetes-operator excludes and terminates an existing, healthy storage pod before its replacement pod is scheduled, running, or ready to take traffic. In an environment …

---

## [What is default value for UseLocalitiesForExclusion?](https://forums.foundationdb.org/t/what-is-default-value-for-uselocalitiesforexclusion/5414)

<div class="topic-metadata">

**Author:** [@matiasholte](https://forums.foundationdb.org/u/matiasholte)\
**Replies:** 1\
**Last updated:** [September 1, 2026, 6:14pm UTC](https://forums.foundationdb.org/t/what-is-default-value-for-uselocalitiesforexclusion/5414 "2026-09-01T18:14:56Z")

</div>

According to cluster\_spec.md documentation, “the UseLocalitiesForExclusion is set to false by default.” On the other hand, this PR suggests that “locality based exclusions are turned on per default.” Also foundationdbc…

---

## [Watches and storage query queue depth](https://forums.foundationdb.org/t/watches-and-storage-query-queue-depth/5325)

<div class="topic-metadata">

**Author:** [@jon](https://forums.foundationdb.org/u/jon)\
**Replies:** 2\
**Last updated:** [July 24, 2026, 8:42pm UTC](https://forums.foundationdb.org/t/watches-and-storage-query-queue-depth/5325 "2026-07-24T20:42:51Z")

</div>

Hello! We’ve recently started testing a use case that involves a whooole lot of watches. When we turned on the part of the system that uses watches (which also turned on a number of other things that could be contributi…

---

## [Cluster unavailable after power outage](https://forums.foundationdb.org/t/cluster-unavailable-after-power-outage/5322)

<div class="topic-metadata">

**Author:** [@random-bofh](https://forums.foundationdb.org/u/random-bofh)\
**Replies:** 0\
**Last updated:** [July 1, 2026, 3:49pm UTC](https://forums.foundationdb.org/t/cluster-unavailable-after-power-outage/5322 "2026-07-01T15:49:44Z")

</div>

Hello, After a power outage at our datacentre, where all five nodes got caught in a reboot loop after coming online, our FoundationDB cluster is now offline. The overall configuration is as follows: FoundationDB 6.2.…

---

## [3DC2regions--Simulating Primary Datacenter Failure](https://forums.foundationdb.org/t/3dc2regions-simulating-primary-datacenter-failure/3329)

<div class="topic-metadata">

**Author:** [@Clindy](https://forums.foundationdb.org/u/Clindy)\
**Replies:** 15\
**Last updated:** [June 22, 2026, 2:42pm UTC](https://forums.foundationdb.org/t/3dc2regions-simulating-primary-datacenter-failure/3329 "2026-06-22T14:42:23Z")

</div>

Hello, My cluster deployment was 3 DCs, 2 regions.The FDB database version is 6.3.23 . region.json { “regions”: \[ { “datacenters”:\[{ “id” : “dc1”, “priority”: 1 },{ “id”: “dc2”, “priority”: 0, “satellite”: 1, …

---

## [Version Vector feature](https://forums.foundationdb.org/t/version-vector-feature/5273)

<div class="topic-metadata">

**Author:** [@mayurjpatel](https://forums.foundationdb.org/u/mayurjpatel)\
**Replies:** 0\
**Last updated:** [June 3, 2026, 6:48pm UTC](https://forums.foundationdb.org/t/version-vector-feature/5273 "2026-06-03T18:48:05Z")

</div>

Are there any latest guidance on using this feature in 7.3.x environment? I searched forums and didn’t find anything recent about this feature. Are there any known gotchas/issues with using this feature?

---

## [Using FoundationDB Cluster in Kubernetes with ServiceType=LoadBalancer](https://forums.foundationdb.org/t/using-foundationdb-cluster-in-kubernetes-with-servicetype-loadbalancer/5257)

<div class="topic-metadata">

**Author:** [@fuCtor](https://forums.foundationdb.org/u/fuCtor)\
**Replies:** 4\
**Last updated:** [May 20, 2026, 5:28pm UTC](https://forums.foundationdb.org/t/using-foundationdb-cluster-in-kubernetes-with-servicetype-loadbalancer/5257 "2026-05-20T17:28:27Z")

</div>

Hello FoundationDB community, I’m running a FoundationDB cluster on Kubernetes using the official FoundationDB operator. Currently, I need to expose the cluster to external clients (outside the K8s cluster), ideally usi…

---

## [Doc site updates — May 2026](https://forums.foundationdb.org/t/doc-site-updates-may-2026/5241)

<div class="topic-metadata">

**Author:** [@panghy](https://forums.foundationdb.org/u/panghy)\
**Replies:** 7\
**Last updated:** [May 15, 2026, 12:28pm UTC](https://forums.foundationdb.org/t/doc-site-updates-may-2026/5241 "2026-05-15T12:28:58Z")

</div>

Hey all, A couple of doc site updates from this month’s open source working group meeting: Gray failure detection — promoted from a two-line passing mention to a proper operations guide, and now framed as a recommende…

---

## [Large amount of log messages with SlowSSLoopx100](https://forums.foundationdb.org/t/large-amount-of-log-messages-with-slowssloopx100/4951)

<div class="topic-metadata">

**Author:** [@mesto](https://forums.foundationdb.org/u/mesto)\
**Replies:** 3\
**Last updated:** [May 15, 2026, 10:46am UTC](https://forums.foundationdb.org/t/large-amount-of-log-messages-with-slowssloopx100/4951 "2026-05-15T10:46:47Z")

</div>

Hi everyone (my first post here). We have started using FoundationDB with a Kubernetes operator installation in AWS EKS. After adding a sidecar container to ship the trace logs with Severity \> 20 in a central location, …

---

## [Operator Change: fdbbackup modify now supported for encrypted backups on FDB 7.3.73+ and 7.4.6+](https://forums.foundationdb.org/t/operator-change-fdbbackup-modify-now-supported-for-encrypted-backups-on-fdb-7-3-73-and-7-4-6/5234)

<div class="topic-metadata">

**Author:** [@harshm](https://forums.foundationdb.org/u/harshm)\
**Replies:** 0\
**Last updated:** [April 23, 2026, 8:16am UTC](https://forums.foundationdb.org/t/operator-change-fdbbackup-modify-now-supported-for-encrypted-backups-on-fdb-7-3-73-and-7-4-6/5234 "2026-04-23T08:16:21Z")

</div>

We’ve updated the minimum FDB version required for encrypted backup support from 7.3.72 to 7.3.73 in the 7.3.x line. The 7.4.x line remains unchanged at 7.4.6. This change is due to a bug in FDB 7.3.72 (apple/foundatio…

---

## [Fdb cluster deployed with operator automatically going down](https://forums.foundationdb.org/t/fdb-cluster-deployed-with-operator-automatically-going-down/5226)

<div class="topic-metadata">

**Author:** [@Pranav2612000](https://forums.foundationdb.org/u/Pranav2612000)\
**Replies:** 4\
**Last updated:** [April 17, 2026, 4:00am UTC](https://forums.foundationdb.org/t/fdb-cluster-deployed-with-operator-automatically-going-down/5226 "2026-04-17T04:00:03Z")

</div>

We’re using foundationdb on prod, with fdb-kubernetes-operator to deploy on k8s. Recently we saw the whole cluster going down, with a lot of pods in ‘Completed’ or ‘StatusUnknownState’ \[ screenshot \] I’ve verified th…

---

## [FDB pods continue connecting to stale IPs after pod restart → connection drops (Kubernetes + Operator + Cilium)](https://forums.foundationdb.org/t/fdb-pods-continue-connecting-to-stale-ips-after-pod-restart-connection-drops-kubernetes-operator-cilium/5229)

<div class="topic-metadata">

**Author:** [@saone](https://forums.foundationdb.org/u/saone)\
**Replies:** 3\
**Last updated:** [April 16, 2026, 11:40am UTC](https://forums.foundationdb.org/t/fdb-pods-continue-connecting-to-stale-ips-after-pod-restart-connection-drops-kubernetes-operator-cilium/5229 "2026-04-16T11:40:08Z")

</div>

Hi team, I’m running a FoundationDB cluster on Kubernetes using the official operator, and I’m seeing an issue where FDB processes continue attempting to connect to stale pod IPs after pod restarts, leading to persisten…

---

## [Continuously increasing DR lag after migrating from FDB 6.2 to 7.3](https://forums.foundationdb.org/t/continuously-increasing-dr-lag-after-migrating-from-fdb-6-2-to-7-3/5172)

<div class="topic-metadata">

**Author:** [@husseinfakharany](https://forums.foundationdb.org/u/husseinfakharany)\
**Replies:** 3\
**Last updated:** [April 9, 2026, 3:39pm UTC](https://forums.foundationdb.org/t/continuously-increasing-dr-lag-after-migrating-from-fdb-6-2-to-7-3/5172 "2026-04-09T15:39:35Z")

</div>

Hi folks, We’ve been running into issues with FoundationDB DR after migrating from 6.2 to 7.3. The DR lag in 7.3 continuously increases and never recovers on its own. Aborting the DR and restarting it doesn’t help. Wher…

---

## [Backup through the fdb-kubernetes-operator running the backup command on the operator](https://forums.foundationdb.org/t/backup-through-the-fdb-kubernetes-operator-running-the-backup-command-on-the-operator/5213)

<div class="topic-metadata">

**Author:** [@Pranav2612000](https://forums.foundationdb.org/u/Pranav2612000)\
**Replies:** 2\
**Last updated:** [March 26, 2026, 5:43am UTC](https://forums.foundationdb.org/t/backup-through-the-fdb-kubernetes-operator-running-the-backup-command-on-the-operator/5213 "2026-03-26T05:43:11Z")

</div>

I’m using the fdb-kubernetes operator to run fdb on kubernetes ( GitHub - FoundationDB/fdb-kubernetes-operator: A kubernetes operator for FoundationDB · GitHub ) To enable backups, this is the config that I have apiVer…

---

## [Storage process slowly growth until oom](https://forums.foundationdb.org/t/storage-process-slowly-growth-until-oom/5208)

<div class="topic-metadata">

**Author:** [@walter.Liang](https://forums.foundationdb.org/u/walter.Liang)\
**Replies:** 3\
**Last updated:** [March 12, 2026, 6:49am UTC](https://forums.foundationdb.org/t/storage-process-slowly-growth-until-oom/5208 "2026-03-12T06:49:19Z")

</div>

Hello everyone, We are running a three-node FoundationDB cluster as the key-value backend in our production environment. On each machine, we have deployed one storage process, one transaction process, and two stateless…

---

## [Fdb compatibilty with amzon linux 3 version](https://forums.foundationdb.org/t/fdb-compatibilty-with-amzon-linux-3-version/5210)

<div class="topic-metadata">

**Author:** [@Minaxi](https://forums.foundationdb.org/u/Minaxi)\
**Replies:** 0\
**Last updated:** [March 3, 2026, 8:48pm UTC](https://forums.foundationdb.org/t/fdb-compatibilty-with-amzon-linux-3-version/5210 "2026-03-03T20:48:31Z")

</div>

currently we are running FDB on 7.2.0-1.el7.x86\_64.rpm version on amazon linux 2 in aws . we need to. move from amazon linux 2 to linux 3 as the former is reaching EOL so what are our option here does our current vers…

---

## [\[ANN\] asyncio-foundationdb v0.13.0](https://forums.foundationdb.org/t/ann-asyncio-foundationdb-v0-13-0/5209)

<div class="topic-metadata">

**Author:** [@amirouche](https://forums.foundationdb.org/u/amirouche)\
**Replies:** 0\
**Last updated:** [March 3, 2026, 5:09pm UTC](https://forums.foundationdb.org/t/ann-asyncio-foundationdb-v0-13-0/5209 "2026-03-03T17:09:10Z")

</div>

Python asyncio driver for FoundationDB. pip install asyncio-foundationdb Tested with CPython 3.9–3.14 including free-threaded (GIL disabled), and PyPy 3.9–3.11. Requires FoundationDB 7.3+. Multi-arch wheels for Linux a…

---

## [Erlfdb - Erlang and Elixir binding](https://forums.foundationdb.org/t/erlfdb-erlang-and-elixir-binding/5206)

<div class="topic-metadata">

**Author:** [@jstimpson](https://forums.foundationdb.org/u/jstimpson)\
**Replies:** 1\
**Last updated:** [March 2, 2026, 11:21pm UTC](https://forums.foundationdb.org/t/erlfdb-erlang-and-elixir-binding/5206 "2026-03-02T23:21:03Z")

</div>

In early 2024, we forked couchdb-erlfdb to continue its development. Today we released v1.0. Changelog - details all of the changes since the fork Hex package | docs Elixir tutorial | Livebook Erlang example | Liveboo…

---

## [Improving (Perceived) Complexity](https://forums.foundationdb.org/t/improving-perceived-complexity/4989)

<div class="topic-metadata">

**Author:** [@panghy](https://forums.foundationdb.org/u/panghy)\
**Replies:** 43\
**Last updated:** [February 5, 2026, 1:59pm UTC](https://forums.foundationdb.org/t/improving-perceived-complexity/4989 "2026-02-05T13:59:19Z")

</div>

Full disclosure, we (Wavefront) started using FoundationDB (before Apple acquired it) around 2014, and I believe it is one of the foundational piece of technology that allowed us to scale to the moon and back. It pains m…

---

## [Maximizing horizontal fdb "double CAS" write throughput, okay with losing last 10 mins of transactions](https://forums.foundationdb.org/t/maximizing-horizontal-fdb-double-cas-write-throughput-okay-with-losing-last-10-mins-of-transactions/5196)

<div class="topic-metadata">

**Author:** [@tkxue](https://forums.foundationdb.org/u/tkxue)\
**Replies:** 1\
**Last updated:** [February 5, 2026, 1:51pm UTC](https://forums.foundationdb.org/t/maximizing-horizontal-fdb-double-cas-write-throughput-okay-with-losing-last-10-mins-of-transactions/5196 "2026-02-05T13:51:43Z")

</div>

TLDR: What is best way to horizontally scale “double CAS” (where key collision has very low probability) and we’re okay with losing last 10 minutes of transactions. Longer: This is related to my previous question Confi…

---

## [Five of seven servers unexpectedly excluded from cluster with no intentional exclude action](https://forums.foundationdb.org/t/five-of-seven-servers-unexpectedly-excluded-from-cluster-with-no-intentional-exclude-action/5197)

<div class="topic-metadata">

**Author:** [@zitar](https://forums.foundationdb.org/u/zitar)\
**Replies:** 0\
**Last updated:** [February 4, 2026, 8:04pm UTC](https://forums.foundationdb.org/t/five-of-seven-servers-unexpectedly-excluded-from-cluster-with-no-intentional-exclude-action/5197 "2026-02-04T20:04:09Z")

</div>

We recently encountered an unexpected cluster state change where 5 out of 7 servers were marked as excluded. This was not an intentional maintenance event, and to our knowledge no exclude command (manual, scripted, or a…

---

## [Configure fdb to write to disk only once every 10 mins](https://forums.foundationdb.org/t/configure-fdb-to-write-to-disk-only-once-every-10-mins/5194)

<div class="topic-metadata">

**Author:** [@tkxue](https://forums.foundationdb.org/u/tkxue)\
**Replies:** 4\
**Last updated:** [February 3, 2026, 9:45am UTC](https://forums.foundationdb.org/t/configure-fdb-to-write-to-disk-only-once-every-10-mins/5194 "2026-02-03T09:45:15Z")

</div>

I am trying to setup a fdb cluster in such a way it can handle 1M small writes / second. Is it possible to configure the cluster in such a way so that: writes, by default, go only into memory, and not into SSD every 1…

---

## [Failure of the primary region and healty status](https://forums.foundationdb.org/t/failure-of-the-primary-region-and-healty-status/5195)

<div class="topic-metadata">

**Author:** [@fuCtor](https://forums.foundationdb.org/u/fuCtor)\
**Replies:** 0\
**Last updated:** [February 2, 2026, 1:51pm UTC](https://forums.foundationdb.org/t/failure-of-the-primary-region-and-healty-status/5195 "2026-02-02T13:51:17Z")

</div>

I’m testing the operation of a single region failure. When I lose the remote region, everything goes well, and the cluster status is healthy. When I lose the primary region, a warning about log loss appears, and the st…

---

## [Starting FDB with incorrect TLS certificates](https://forums.foundationdb.org/t/starting-fdb-with-incorrect-tls-certificates/5193)

<div class="topic-metadata">

**Author:** [@MarkSh1](https://forums.foundationdb.org/u/MarkSh1)\
**Replies:** 0\
**Last updated:** [January 30, 2026, 11:22am UTC](https://forums.foundationdb.org/t/starting-fdb-with-incorrect-tls-certificates/5193 "2026-01-30T11:22:44Z")

</div>

Set up a TLS connection. DB works well. I change the settings in foundationdb.conf - I specify a non-existent certificate file. Why does the Database continue to work after the restart? I see it in the log \<Even…

---

## [Large disk increase during backup](https://forums.foundationdb.org/t/large-disk-increase-during-backup/5191)

<div class="topic-metadata">

**Author:** [@mpatou\_openai](https://forums.foundationdb.org/u/mpatou_openai)\
**Replies:** 0\
**Last updated:** [January 27, 2026, 6:17pm UTC](https://forums.foundationdb.org/t/large-disk-increase-during-backup/5191 "2026-01-27T18:17:13Z")

</div>

I started to witness some non expected behavior with FDB in one of our cluster: The database is fairly large: 1TB and we have a total of 6 replica (3 for the main region and 3 for the second) and we end up using close t…

[Next page](https://forums.foundationdb.org/c/using-foundationdb/7.md?page=1)
