# Development

**URL:** https://forums.foundationdb.org/c/development/5.md?page=3

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

**Page:** 4

---

## [UKV Docs, Graphs, and Vector layers for FoundationDB](https://forums.foundationdb.org/t/ukv-docs-graphs-and-vector-layers-for-foundationdb/3746)

<div class="topic-metadata">

**Author:** [@ashvardanian](https://forums.foundationdb.org/u/ashvardanian)\
**Replies:** 0\
**Last updated:** [January 18, 2023, 11:21pm UTC](https://forums.foundationdb.org/t/ukv-docs-graphs-and-vector-layers-for-foundationdb/3746 "2023-01-18T23:21:27Z")

</div>

My team and I have spent most of the last 2 years working on Key-Value Stores and the surrounding ecosystem, and we are finally starting to open-source some of the pieces. One of them can be of value to the FoundationDB …

---

## [Is 7.x macos binaries available for download?](https://forums.foundationdb.org/t/is-7-x-macos-binaries-available-for-download/3722)

<div class="topic-metadata">

**Author:** [@tengiz-dawkins](https://forums.foundationdb.org/u/tengiz-dawkins)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 7:24am UTC](https://forums.foundationdb.org/t/is-7-x-macos-binaries-available-for-download/3722 "2023-01-04T07:24:29Z")

</div>

Hello, I am trying to build one but getting an error No install step for ‘boost\_targetProject’ Is 7.x macos binaries for Intel available for download anywhere? Thanks!

---

## [Foundationdb docker build](https://forums.foundationdb.org/t/foundationdb-docker-build/3703)

<div class="topic-metadata">

**Author:** [@qiuxinyidian](https://forums.foundationdb.org/u/qiuxinyidian)\
**Replies:** 0\
**Last updated:** [December 22, 2022, 9:19am UTC](https://forums.foundationdb.org/t/foundationdb-docker-build/3703 "2022-12-22T09:19:09Z")

</div>

I pull docker image and code from github, when build foundation ,I got some issues like bellow : \[root@node160 build\]# docker run -it foundationdb/build:centos7-latest /bin/bash \[root@633221c2beed tmp\]# source /opt/r…

---

## [Are range reads cached in the C client?](https://forums.foundationdb.org/t/are-range-reads-cached-in-the-c-client/3692)

<div class="topic-metadata">

**Author:** [@rajivr](https://forums.foundationdb.org/u/rajivr)\
**Replies:** 1\
**Last updated:** [December 13, 2022, 4:41pm UTC](https://forums.foundationdb.org/t/are-range-reads-cached-in-the-c-client/3692 "2022-12-13T16:41:25Z")

</div>

I was wondering if FDB caches range reads in the C client? For example, suppose in my layer code, I do a range read to get all key values that have a prefix of ("some", "subspace",). After this future resolves and all …

---

## [\`fdb\_transaction\_get\_range\` API and \`limit\`](https://forums.foundationdb.org/t/fdb-transaction-get-range-api-and-limit/3680)

<div class="topic-metadata">

**Author:** [@rajivr](https://forums.foundationdb.org/u/rajivr)\
**Replies:** 0\
**Last updated:** [December 2, 2022, 3:55am UTC](https://forums.foundationdb.org/t/fdb-transaction-get-range-api-and-limit/3680 "2022-12-02T03:55:36Z")

</div>

I recently encountered an API ergonomics issue with fdb\_transaction\_get\_range and its use of limit = 0 to indicate unlimited. I’m sharing the issue here for comments and hopefully as a heads-up to future binding/layer a…

---

## [What is the failover critera for multi region configuration](https://forums.foundationdb.org/t/what-is-the-failover-critera-for-multi-region-configuration/3674)

<div class="topic-metadata">

**Author:** [@zhongyan](https://forums.foundationdb.org/u/zhongyan)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 9:00am UTC](https://forums.foundationdb.org/t/what-is-the-failover-critera-for-multi-region-configuration/3674 "2022-11-29T09:00:23Z")

</div>

Hi there, I know fdb has the HA feature to handle datacenter failure, but I want to know what is the specific criteria to trigger failover between regions? more than half nodes in a DC unavailable? Looking for fdb exper…

---

## [How to fix the problem "com.apple.foundationdb.FDBException: Broken promise"?](https://forums.foundationdb.org/t/how-to-fix-the-problem-com-apple-foundationdb-fdbexception-broken-promise/3673)

<div class="topic-metadata">

**Author:** [@liyyue](https://forums.foundationdb.org/u/liyyue)\
**Replies:** 3\
**Last updated:** [November 28, 2022, 10:12am UTC](https://forums.foundationdb.org/t/how-to-fix-the-problem-com-apple-foundationdb-fdbexception-broken-promise/3673 "2022-11-28T10:12:21Z")

</div>

Hi, Experts Now our fdb user encountered the following error message in the log: … Nov 25 11:46:52 mdm-job-b15619-mdm-job-5bf88bc674-rpc47 mdm-job FINEST Closing FDB database object… Nov 25 11:46:52 mdm-job-b15619-md…

---

## [About HasIncorrectServiceConfig in updateStatus](https://forums.foundationdb.org/t/about-hasincorrectserviceconfig-in-updatestatus/3634)

<div class="topic-metadata">

**Author:** [@mengzhbj](https://forums.foundationdb.org/u/mengzhbj)\
**Replies:** 3\
**Last updated:** [November 23, 2022, 6:00am UTC](https://forums.foundationdb.org/t/about-hasincorrectserviceconfig-in-updatestatus/3634 "2022-11-23T06:00:45Z")

</div>

Right now inside of updateStatus{} sub reconciliation, for the HasIncorrectServiceConfig part, the code only checks whether Headless service has some incorrect config or not, but ignores the normal services, such as Clus…

---

## [Binding tester heisenbug with API version 710 and tenant](https://forums.foundationdb.org/t/binding-tester-heisenbug-with-api-version-710-and-tenant/3306)

<div class="topic-metadata">

**Author:** [@rajivr](https://forums.foundationdb.org/u/rajivr)\
**Replies:** 20\
**Last updated:** [November 22, 2022, 8:33am UTC](https://forums.foundationdb.org/t/binding-tester-heisenbug-with-api-version-710-and-tenant/3306 "2022-11-22T08:33:59Z")

</div>

I’ve Tokio/Rust bindings CI setup to continuously run binding tester. Recently I encountered an unusual failure with FDB version 7.1.3 and API version 710. The failing seed according to CI is 1191235632 and it fails wi…

---

## [Libfdb\_c.so size](https://forums.foundationdb.org/t/libfdb-c-so-size/3663)

<div class="topic-metadata">

**Author:** [@tangerine](https://forums.foundationdb.org/u/tangerine)\
**Replies:** 3\
**Last updated:** [November 18, 2022, 5:43pm UTC](https://forums.foundationdb.org/t/libfdb-c-so-size/3663 "2022-11-18T17:43:29Z")

</div>

HI, This one maybe a cpack question but I notice that when I compile the FDB source code, the libfdb\_c.so under my build/lib is about 2x bigger then the one I generated using “cpack -G TGZ”. So, why the cpack one is mu…

---

## [What is the go binding version in go.mod for fdb 6.3.24?](https://forums.foundationdb.org/t/what-is-the-go-binding-version-in-go-mod-for-fdb-6-3-24/3654)

<div class="topic-metadata">

**Author:** [@liyyue](https://forums.foundationdb.org/u/liyyue)\
**Replies:** 2\
**Last updated:** [November 11, 2022, 9:18am UTC](https://forums.foundationdb.org/t/what-is-the-go-binding-version-in-go-mod-for-fdb-6-3-24/3654 "2022-11-11T09:18:16Z")

</div>

Hi, Experts Now I am drafting a golang application to access fdb, initially it access fdb 6.2, and in the go.mod is as following: ... require ( github.com/apple/foundationdb/bindings/go v0.0.0-20200112054404-40…

---

## [Issue linking foundationDB with Go bindings : m2 chip](https://forums.foundationdb.org/t/issue-linking-foundationdb-with-go-bindings-m2-chip/3650)

<div class="topic-metadata">

**Author:** [@stephensweet](https://forums.foundationdb.org/u/stephensweet)\
**Replies:** 0\
**Last updated:** [November 10, 2022, 2:11am UTC](https://forums.foundationdb.org/t/issue-linking-foundationdb-with-go-bindings-m2-chip/3650 "2022-11-10T02:11:02Z")

</div>

Hello, I am getting the following error when trying to run the Hello World go binding code from (fdb package - github.com/apple/foundationdb/bindings/go/src/fdb - Go Packages)…

---

## [Online, Asynchronous Schema Change in F1](https://forums.foundationdb.org/t/online-asynchronous-schema-change-in-f1/3641)

<div class="topic-metadata">

**Author:** [@rajivr](https://forums.foundationdb.org/u/rajivr)\
**Replies:** 0\
**Last updated:** [November 7, 2022, 5:47am UTC](https://forums.foundationdb.org/t/online-asynchronous-schema-change-in-f1/3641 "2022-11-07T05:47:14Z")

</div>

As part of my effort to develop layer using Tokio/Rust bindings I recently spent sometime time trying to understand this paper. It seems to be a seminal paper whose approach has been adopted by other databases such as C…

---

## [How do I scan through the whole foundationDB to find all the keys in it?](https://forums.foundationdb.org/t/how-do-i-scan-through-the-whole-foundationdb-to-find-all-the-keys-in-it/3636)

<div class="topic-metadata">

**Author:** [@weiz19702000](https://forums.foundationdb.org/u/weiz19702000)\
**Replies:** 1\
**Last updated:** [November 4, 2022, 6:49am UTC](https://forums.foundationdb.org/t/how-do-i-scan-through-the-whole-foundationdb-to-find-all-the-keys-in-it/3636 "2022-11-04T06:49:47Z")

</div>

We have a foundationDB with huge amount of data and the amount of data is growing. We have written to purge the data by keys once the data is “old” enough. However, it seems that there are data “leakage” such that the si…

---

## [M2 chip development](https://forums.foundationdb.org/t/m2-chip-development/3603)

<div class="topic-metadata">

**Author:** [@stephensweet](https://forums.foundationdb.org/u/stephensweet)\
**Replies:** 1\
**Last updated:** [October 20, 2022, 10:17am UTC](https://forums.foundationdb.org/t/m2-chip-development/3603 "2022-10-20T10:17:06Z")

</div>

Im getting this as output zsh: illegal hardware instruction fdbcli when trying to run foundationdb on macbook pro m2 chip? Is it not currently supported?

---

## [Is there any guide to introduce how to develop and debug fdb core code？](https://forums.foundationdb.org/t/is-there-any-guide-to-introduce-how-to-develop-and-debug-fdb-core-code/3599)

<div class="topic-metadata">

**Author:** [@liyyue](https://forums.foundationdb.org/u/liyyue)\
**Replies:** 0\
**Last updated:** [October 18, 2022, 1:59pm UTC](https://forums.foundationdb.org/t/is-there-any-guide-to-introduce-how-to-develop-and-debug-fdb-core-code/3599 "2022-10-18T13:59:32Z")

</div>

Hi, Experts Now we are reading fdb core code and wondering how to setup fdb core code development environment and how to debug it? Is there any guide to introduce it? And if there is any detailed document to introduce …

---

## [Design Discussion - Running Multiple Storage Servers per Disk on Kubernetes](https://forums.foundationdb.org/t/design-discussion-running-multiple-storage-servers-per-disk-on-kubernetes/2320)

<div class="topic-metadata">

**Author:** [@john\_brownlee](https://forums.foundationdb.org/u/john_brownlee)\
**Replies:** 2\
**Last updated:** [December 3, 2021, 5:47am UTC](https://forums.foundationdb.org/t/design-discussion-running-multiple-storage-servers-per-disk-on-kubernetes/2320 "2021-12-03T05:47:29Z")

</div>

I’ve posted a design doc on how we could support multiple storage servers per disk in the Kubernetes Operator. If anyone is interested in this area, I’d love your feedback on the proposed design. Design: https://github.…

---

## [The Order of Conflict-checking and Appending to the tLog](https://forums.foundationdb.org/t/the-order-of-conflict-checking-and-appending-to-the-tlog/2563)

<div class="topic-metadata">

**Author:** [@moro](https://forums.foundationdb.org/u/moro)\
**Replies:** 5\
**Last updated:** [October 9, 2022, 4:58am UTC](https://forums.foundationdb.org/t/the-order-of-conflict-checking-and-appending-to-the-tlog/2563 "2022-10-09T04:58:03Z")

</div>

Hi, Are transactions appended to the tLog in the order in which they are conflict-checked? Because otherwise, can’t the following scenario occur? T1 { if (x == 1) x = 3 } T2 { x = 2 } Now, suppose we conflict-ch…

---

## [\`inverted\_range\` error and C API](https://forums.foundationdb.org/t/inverted-range-error-and-c-api/3574)

<div class="topic-metadata">

**Author:** [@rajivr](https://forums.foundationdb.org/u/rajivr)\
**Replies:** 0\
**Last updated:** [October 2, 2022, 4:54am UTC](https://forums.foundationdb.org/t/inverted-range-error-and-c-api/3574 "2022-10-02T04:54:11Z")

</div>

I was wondering if FDB C API fdb\_transaction\_get\_range returns an empty FDBKeyValueArray when provided with an inverted range? I encountered this behavior when writing a test-case. I was expecting to see an inverted\_ran…

---

## [Roadmap for Go bindings future?](https://forums.foundationdb.org/t/roadmap-for-go-bindings-future/3571)

<div class="topic-metadata">

**Author:** [@chrisok](https://forums.foundationdb.org/u/chrisok)\
**Replies:** 0\
**Last updated:** [October 1, 2022, 11:26pm UTC](https://forums.foundationdb.org/t/roadmap-for-go-bindings-future/3571 "2022-10-01T23:26:46Z")

</div>

Hi. Thanks for the hard work on FDB. I’m using the Go bindings and was wondering if there is a roadmap for adding newer API features and improving performance? It works fine for me now, but there are a few things that c…

---

## [Possibility of stale reads](https://forums.foundationdb.org/t/possibility-of-stale-reads/3259)

<div class="topic-metadata">

**Author:** [@smolbrain](https://forums.foundationdb.org/u/smolbrain)\
**Replies:** 6\
**Last updated:** [September 30, 2022, 4:06am UTC](https://forums.foundationdb.org/t/possibility-of-stale-reads/3259 "2022-09-30T04:06:11Z")

</div>

Hi, I just read the FoundationDB paper and had a followup question for my own understanding. Is it possible for the following scenario to occur? Basically, some transaction T2 receives a read version (11) from the sequ…

---

## [Lz4 static required to compile for FDB 6.3?](https://forums.foundationdb.org/t/lz4-static-required-to-compile-for-fdb-6-3/3555)

<div class="topic-metadata">

**Author:** [@tangerine](https://forums.foundationdb.org/u/tangerine)\
**Replies:** 0\
**Last updated:** [September 20, 2022, 10:14pm UTC](https://forums.foundationdb.org/t/lz4-static-required-to-compile-for-fdb-6-3/3555 "2022-09-20T22:14:19Z")

</div>

HI, I am trying to compile FDB 6.3.24 on a RHEL 8 host. One of the requirement for 6.3.24 is lz4 (liblz4.a) to be static link into the code. Is there a way to not static link it but dynamic link it instead? The reaso…

---

## [Dynamic link openssl instead of static link?](https://forums.foundationdb.org/t/dynamic-link-openssl-instead-of-static-link/3551)

<div class="topic-metadata">

**Author:** [@tangerine](https://forums.foundationdb.org/u/tangerine)\
**Replies:** 4\
**Last updated:** [September 19, 2022, 10:20pm UTC](https://forums.foundationdb.org/t/dynamic-link-openssl-instead-of-static-link/3551 "2022-09-19T22:20:53Z")

</div>

Hi, Has anyone tried to dynamic link openssl instead of static link? Any particular issue ? Regards,

---

## [Compile difference between 6.2 and 6.3](https://forums.foundationdb.org/t/compile-difference-between-6-2-and-6-3/3548)

<div class="topic-metadata">

**Author:** [@tangerine](https://forums.foundationdb.org/u/tangerine)\
**Replies:** 1\
**Last updated:** [September 16, 2022, 3:34am UTC](https://forums.foundationdb.org/t/compile-difference-between-6-2-and-6-3/3548 "2022-09-16T03:34:01Z")

</div>

Hi, I notice the readme is different on building from source on 6.2.x and 6.3.x. To be more specific, on 6.2.x’s readme, it says it needs boost and jdk 1.8 and on 6.3.x, there is no such mention and uses ninja. I am j…

---

## [OpenSSL instead of LibreSSL? (FIPS mode ...)](https://forums.foundationdb.org/t/openssl-instead-of-libressl-fips-mode/1898)

<div class="topic-metadata">

**Author:** [@kocolosk](https://forums.foundationdb.org/u/kocolosk)\
**Replies:** 5\
**Last updated:** [September 14, 2022, 11:58pm UTC](https://forums.foundationdb.org/t/openssl-instead-of-libressl-fips-mode/1898 "2022-09-14T23:58:46Z")

</div>

FoundationDB’s TLS system uses LibreSSL “by default”. While I applaud that choice, we’re looking at some deployments where we’ll need to be using FIPS-140-2 validated cryptographic modules, and the LibreSSL folks have ta…

---

## [Automating the Python workflow using pre-commits: black and flake8](https://forums.foundationdb.org/t/automating-the-python-workflow-using-pre-commits-black-and-flake8/3545)

<div class="topic-metadata">

**Author:** [@LukasM](https://forums.foundationdb.org/u/LukasM)\
**Replies:** 0\
**Last updated:** [September 8, 2022, 11:56am UTC](https://forums.foundationdb.org/t/automating-the-python-workflow-using-pre-commits-black-and-flake8/3545 "2022-09-08T11:56:47Z")

</div>

This will force you to commit Python code that follows those rules. I was thinking about implementing this. Is there any interest in this?

---

## [Compile with openssl for 6.3 on a rhel8 host](https://forums.foundationdb.org/t/compile-with-openssl-for-6-3-on-a-rhel8-host/3536)

<div class="topic-metadata">

**Author:** [@tangerine](https://forums.foundationdb.org/u/tangerine)\
**Replies:** 0\
**Last updated:** [September 2, 2022, 10:06pm UTC](https://forums.foundationdb.org/t/compile-with-openssl-for-6-3-on-a-rhel8-host/3536 "2022-09-02T22:06:52Z")

</div>

Hi, I am trying to follow the Readme in the foundationdb (fdb) GitHub repo to compile FDB from source. One thing I notice is that if I do that from a linux host (say centos 8/centos7/rhel 8), the ssl option is not turn…

---

## [Foundation DB on AWS Graviton](https://forums.foundationdb.org/t/foundation-db-on-aws-graviton/3509)

<div class="topic-metadata">

**Author:** [@richardgianattasio](https://forums.foundationdb.org/u/richardgianattasio)\
**Replies:** 0\
**Last updated:** [August 18, 2022, 2:58pm UTC](https://forums.foundationdb.org/t/foundation-db-on-aws-graviton/3509 "2022-08-18T14:58:59Z")

</div>

Is there any interest or opportunity for supporting FDB and/or the FDB client on AWS Graviton instances? Has anyone in the community done any investigation in this regard?

---

## [Docker file in foundationdb/package/docker failed to download the tar bar ball](https://forums.foundationdb.org/t/docker-file-in-foundationdb-package-docker-failed-to-download-the-tar-bar-ball/3500)

<div class="topic-metadata">

**Author:** [@tangerine](https://forums.foundationdb.org/u/tangerine)\
**Replies:** 1\
**Last updated:** [August 16, 2022, 11:33am UTC](https://forums.foundationdb.org/t/docker-file-in-foundationdb-package-docker-failed-to-download-the-tar-bar-ball/3500 "2022-08-16T11:33:13Z")

</div>

Hi, I downloaded the foundationdb6.3.18 package from GitHub and try to use the included dockerfile under package/docker/release. Inside the Dockerfile, it try to download the foundationdb.6.3.18.tar.gz from www.foundat…

---

## [Mvsqlite - Distributed, MVCC SQLite that runs on FoundationDB](https://forums.foundationdb.org/t/mvsqlite-distributed-mvcc-sqlite-that-runs-on-foundationdb/3493)

<div class="topic-metadata">

**Author:** [@rickysaltzer](https://forums.foundationdb.org/u/rickysaltzer)\
**Replies:** 0\
**Last updated:** [August 8, 2022, 10:11pm UTC](https://forums.foundationdb.org/t/mvsqlite-distributed-mvcc-sqlite-that-runs-on-foundationdb/3493 "2022-08-08T22:11:02Z")

</div>

Apologies if this has already been discussed, but I saw this come across HN last week and thought you all would find it really interesting. It appears to be fairly new, but looks to be a really promising layer addition. …

[Previous page](https://forums.foundationdb.org/c/development/5.md?page=2)

[Next page](https://forums.foundationdb.org/c/development/5.md?page=4)
