# Development

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

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

**Page:** 3

---

## [Best way to create alternate index entries that honor a transaction](https://forums.foundationdb.org/t/best-way-to-create-alternate-index-entries-that-honor-a-transaction/4120)

<div class="topic-metadata">

**Author:** [@don2clouds](https://forums.foundationdb.org/u/don2clouds)\
**Replies:** 0\
**Last updated:** [August 23, 2023, 12:39am UTC](https://forums.foundationdb.org/t/best-way-to-create-alternate-index-entries-that-honor-a-transaction/4120 "2023-08-23T00:39:48Z")

</div>

Hi, I would like to create/update/delete index entries within the boundaries of a transaction. I took a look at TLogServer. I was curious if any one had a better place to look in to hooking in to the transaction? My ho…

---

## [Is there any plan to support data at rest encryption in FDB?](https://forums.foundationdb.org/t/is-there-any-plan-to-support-data-at-rest-encryption-in-fdb/2948)

<div class="topic-metadata">

**Author:** [@tangerine](https://forums.foundationdb.org/u/tangerine)\
**Replies:** 8\
**Last updated:** [August 16, 2023, 5:00am UTC](https://forums.foundationdb.org/t/is-there-any-plan-to-support-data-at-rest-encryption-in-fdb/2948 "2023-08-16T05:00:50Z")

</div>

Currently, FDB does not seem to support data at rest (the stored data on file) encryption. Is there any plan to support this feature?

---

## [Seeing stored data via a web UI](https://forums.foundationdb.org/t/seeing-stored-data-via-a-web-ui/4083)

<div class="topic-metadata">

**Author:** [@darwin67](https://forums.foundationdb.org/u/darwin67)\
**Replies:** 0\
**Last updated:** [July 27, 2023, 4:29pm UTC](https://forums.foundationdb.org/t/seeing-stored-data-via-a-web-ui/4083 "2023-07-27T16:29:22Z")

</div>

Hi newbie here! I’m looking into FoundationDB as a potential option for our system. I was going through some docs, and was wondering if there’s a community project for web UI interface? Something like Redis Insight or…

---

## [Record Layer Design Questions](https://forums.foundationdb.org/t/record-layer-design-questions/3468)

<div class="topic-metadata">

**Author:** [@rajivr](https://forums.foundationdb.org/u/rajivr)\
**Replies:** 21\
**Last updated:** [July 20, 2023, 2:19pm UTC](https://forums.foundationdb.org/t/record-layer-design-questions/3468 "2023-07-20T14:19:37Z")

</div>

I am currently exploring the design of the Record Layer from the ground up. Rather than create multiple threads with my questions, I am hoping to create one thread. My hope is that discussions in this thread will be he…

---

## [Fix Implib.so imports when 'amd64' architecture is using](https://forums.foundationdb.org/t/fix-implib-so-imports-when-amd64-architecture-is-using/4063)

<div class="topic-metadata">

**Author:** [@santana705736](https://forums.foundationdb.org/u/santana705736)\
**Replies:** 1\
**Last updated:** [July 14, 2023, 4:53pm UTC](https://forums.foundationdb.org/t/fix-implib-so-imports-when-amd64-architecture-is-using/4063 "2023-07-14T16:53:23Z")

</div>

The used variable in other environments uses a different name for x86-64. For example, FreeBSD and Windows have system name “amd64” for x86-64 platform. https://github.com/apple/foundationdb/compare/main…santana705736:…

---

## [KEP-753 SidecarContainers and FDB Kubernetes Operator](https://forums.foundationdb.org/t/kep-753-sidecarcontainers-and-fdb-kubernetes-operator/4058)

<div class="topic-metadata">

**Author:** [@rajivr](https://forums.foundationdb.org/u/rajivr)\
**Replies:** 3\
**Last updated:** [July 13, 2023, 6:00am UTC](https://forums.foundationdb.org/t/kep-753-sidecarcontainers-and-fdb-kubernetes-operator/4058 "2023-07-13T06:00:04Z")

</div>

Hi @johscheuer, I was wondering if there was any issue/design document documenting the changes to FDB Kubernetes Operator to make use of SidecarContainers feature that just got merged? Are there any plans to make use o…

---

## [Any updates to service types in the kubernetes operator?](https://forums.foundationdb.org/t/any-updates-to-service-types-in-the-kubernetes-operator/4051)

<div class="topic-metadata">

**Author:** [@brianbreniser](https://forums.foundationdb.org/u/brianbreniser)\
**Replies:** 2\
**Last updated:** [July 11, 2023, 4:01pm UTC](https://forums.foundationdb.org/t/any-updates-to-service-types-in-the-kubernetes-operator/4051 "2023-07-11T16:01:41Z")

</div>

According to this issue: Customizing service config for per-pod services · Issue #391 · FoundationDB/fdb-kubernetes-operator · GitHub there has been a request in the queue to expand the types of ways that the openshift o…

---

## [Default 7.3.0 macOS 13.3 build fails on rocksdb](https://forums.foundationdb.org/t/default-7-3-0-macos-13-3-build-fails-on-rocksdb/4049)

<div class="topic-metadata">

**Author:** [@meangrape](https://forums.foundationdb.org/u/meangrape)\
**Replies:** 0\
**Last updated:** [July 7, 2023, 2:17pm UTC](https://forums.foundationdb.org/t/default-7-3-0-macos-13-3-build-fails-on-rocksdb/4049 "2023-07-07T14:17:48Z")

</div>

I’m building 7.3.0 for macOS 13.3. It is a fresh clone. It fails configuring rocksdb. I’m not using any flags and rocksdb is found by cmake. The error is “…does not appear to contain CMakeLists.txt.” The cmake version i…

---

## [All the tests are open source?](https://forums.foundationdb.org/t/all-the-tests-are-open-source/4041)

<div class="topic-metadata">

**Author:** [@falsandtru](https://forums.foundationdb.org/u/falsandtru)\
**Replies:** 1\
**Last updated:** [July 4, 2023, 9:44pm UTC](https://forums.foundationdb.org/t/all-the-tests-are-open-source/4041 "2023-07-04T21:44:21Z")

</div>

Are all the source code of tests that constitutes “roughly one trillion CPU-hours of simulation on FoundationDB” contained in https://github.com/apple/foundationdb?

---

## [Profile-Guided Optimization](https://forums.foundationdb.org/t/profile-guided-optimization/4043)

<div class="topic-metadata">

**Author:** [@zamazan4ik](https://forums.foundationdb.org/u/zamazan4ik)\
**Replies:** 0\
**Last updated:** [July 4, 2023, 12:26am UTC](https://forums.foundationdb.org/t/profile-guided-optimization/4043 "2023-07-04T00:26:32Z")

</div>

Hi! Recently I found an issue about PGO with FoundationDB: Should support profile-guided optimization · Issue #1334 · apple/foundationdb · GitHub Seems like the issue is stale. Does anyone know - what is the status of …

---

## [Sharing the metadataVersionKey for multiple tenants](https://forums.foundationdb.org/t/sharing-the-metadataversionkey-for-multiple-tenants/1659)

<div class="topic-metadata">

**Author:** [@andrew.noyes](https://forums.foundationdb.org/u/andrew.noyes)\
**Replies:** 3\
**Last updated:** [June 25, 2023, 7:47am UTC](https://forums.foundationdb.org/t/sharing-the-metadataversionkey-for-multiple-tenants/1659 "2023-06-25T07:47:15Z")

</div>

Suppose we have n tenants and one foundationdb database. Each tenant has a set of infrequently updated keys that need to be read in every transaction. To avoid read hot spots on these keys, clients use the value of the m…

---

## [Kubectl fdb plugin panics on analyzing clusters that are not found](https://forums.foundationdb.org/t/kubectl-fdb-plugin-panics-on-analyzing-clusters-that-are-not-found/4024)

<div class="topic-metadata">

**Author:** [@masih](https://forums.foundationdb.org/u/masih)\
**Replies:** 1\
**Last updated:** [June 21, 2023, 5:13pm UTC](https://forums.foundationdb.org/t/kubectl-fdb-plugin-panics-on-analyzing-clusters-that-are-not-found/4024 "2023-06-21T17:13:03Z")

</div>

The fdb plugin for kubectl panics if the cluster is not found. $ kubectl fdb analyze -n mynamespave non-existing-cluster panic: runtime error: invalid memory address or nil pointer dereference \[signal SIGSEGV: segmenta…

---

## [Unaligned pointers in the core client library](https://forums.foundationdb.org/t/unaligned-pointers-in-the-core-client-library/3938)

<div class="topic-metadata">

**Author:** [@behos](https://forums.foundationdb.org/u/behos)\
**Replies:** 5\
**Last updated:** [June 12, 2023, 1:18pm UTC](https://forums.foundationdb.org/t/unaligned-pointers-in-the-core-client-library/3938 "2023-06-12T13:18:55Z")

</div>

Hi, Rust has recently enabled a debug assertion which checks pointer alignment on dereference and it started failing with misaligned pointer dereference when dereferencing objects provided by the core client (for exampl…

---

## [How to use foundationdb unit test?](https://forums.foundationdb.org/t/how-to-use-foundationdb-unit-test/3077)

<div class="topic-metadata">

**Author:** [@superhail](https://forums.foundationdb.org/u/superhail)\
**Replies:** 8\
**Last updated:** [June 7, 2023, 2:03pm UTC](https://forums.foundationdb.org/t/how-to-use-foundationdb-unit-test/3077 "2023-06-07T14:03:05Z")

</div>

I noticed that there are some unit tests in foundationdb’s source code(link), but I do not know how to run them, could someone please give me some advice on how to build and run them? Thanks in advance

---

## [Restore multiple ranges in a kvranges file are failed](https://forums.foundationdb.org/t/restore-multiple-ranges-in-a-kvranges-file-are-failed/3972)

<div class="topic-metadata">

**Author:** [@walter](https://forums.foundationdb.org/u/walter)\
**Replies:** 2\
**Last updated:** [May 24, 2023, 2:34am UTC](https://forums.foundationdb.org/t/restore-multiple-ranges-in-a-kvranges-file-are-failed/3972 "2023-05-24T02:34:55Z")

</div>

I am working on a recovery service, attempting to recover multiple key ranges from backup as needed, so I conducted a test and found this issue. Now here is a backup that contains keys aa, aaa, b, bb and bbb. Now I need…

---

## [Everything about GetMappedRange](https://forums.foundationdb.org/t/everything-about-getmappedrange/3280)

<div class="topic-metadata">

**Author:** [@nblintao](https://forums.foundationdb.org/u/nblintao)\
**Replies:** 10\
**Last updated:** [May 14, 2023, 5:23pm UTC](https://forums.foundationdb.org/t/everything-about-getmappedrange/3280 "2023-05-14T17:23:50Z")

</div>

GetMappedRange is an experimental feature introduced in FDB 7.1. It is intended to improve the client throughput and reduce latency for a commonly used traffic pattern. An experiment with Record Layer shows that this opt…

---

## [Contributing to FDB Operator - PRs limited to collaborators](https://forums.foundationdb.org/t/contributing-to-fdb-operator-prs-limited-to-collaborators/3764)

<div class="topic-metadata">

**Author:** [@manfontan](https://forums.foundationdb.org/u/manfontan)\
**Replies:** 4\
**Last updated:** [May 5, 2023, 4:10pm UTC](https://forums.foundationdb.org/t/contributing-to-fdb-operator-prs-limited-to-collaborators/3764 "2023-05-05T16:10:00Z")

</div>

I am trying to submit a PR with a patch but PRs are now restricted to collaborators. Could you let me know how to proceed?

---

## [FDB Encrypted Backup bug caused by addition of AsyncFileKAIO Latency Histograms?](https://forums.foundationdb.org/t/fdb-encrypted-backup-bug-caused-by-addition-of-asyncfilekaio-latency-histograms/3930)

<div class="topic-metadata">

**Author:** [@pwood](https://forums.foundationdb.org/u/pwood)\
**Replies:** 3\
**Last updated:** [May 4, 2023, 12:34am UTC](https://forums.foundationdb.org/t/fdb-encrypted-backup-bug-caused-by-addition-of-asyncfilekaio-latency-histograms/3930 "2023-05-04T00:34:09Z")

</div>

In Februrary I was looking at implementing encrypted FDB backups, I hit an issue which I couldn’t process past - posted in the forum here. I’ve since had some time to look at it, the actual error is being caused by I…

---

## [MacOS build finds wrong fdb\_c.h for go bindings (patch included!)](https://forums.foundationdb.org/t/macos-build-finds-wrong-fdb-c-h-for-go-bindings-patch-included/3929)

<div class="topic-metadata">

**Author:** [@atn34](https://forums.foundationdb.org/u/atn34)\
**Replies:** 0\
**Last updated:** [April 26, 2023, 12:28am UTC](https://forums.foundationdb.org/t/macos-build-finds-wrong-fdb-c-h-for-go-bindings-patch-included/3929 "2023-04-26T00:28:21Z")

</div>

For folks on MacOS who already have fdb installed on their machines, compilation fails like so: In file included from src/github.com/apple/foundationdb/bindings/go/src/fdb/database.go:26: /usr/local/include/foundationdb…

---

## [Fdb\_c\_types.h missing in windows install image](https://forums.foundationdb.org/t/fdb-c-types-h-missing-in-windows-install-image/3817)

<div class="topic-metadata">

**Author:** [@josephg](https://forums.foundationdb.org/u/josephg)\
**Replies:** 1\
**Last updated:** [April 17, 2023, 6:48am UTC](https://forums.foundationdb.org/t/fdb-c-types-h-missing-in-windows-install-image/3817 "2023-04-17T06:48:38Z")

</div>

Hi everyone! I maintain the nodejs bindings for foundationdb. I haven’t touched them in awhile because I’ve been busy, and they’ve been working great. I recently tried to update my CI to the latest version of foundation…

---

## [Fix Go docker-compose example](https://forums.foundationdb.org/t/fix-go-docker-compose-example/3906)

<div class="topic-metadata">

**Author:** [@danthegoodman](https://forums.foundationdb.org/u/danthegoodman)\
**Replies:** 3\
**Last updated:** [April 16, 2023, 4:47pm UTC](https://forums.foundationdb.org/t/fix-go-docker-compose-example/3906 "2023-04-16T16:47:14Z")

</div>

I was hoping to be able to contribute back to the repo to fix the golang example, as it currently tries to pull from a link that does not exist, and execute a bash script that does not exist. It seems the repo is limite…

---

## [Errors building for Go](https://forums.foundationdb.org/t/errors-building-for-go/3905)

<div class="topic-metadata">

**Author:** [@danthegoodman](https://forums.foundationdb.org/u/danthegoodman)\
**Replies:** 2\
**Last updated:** [April 15, 2023, 12:22pm UTC](https://forums.foundationdb.org/t/errors-building-for-go/3905 "2023-04-15T12:22:25Z")

</div>

Using 7.1.31 I am following the instructions found at foundationdb/bindings/go at main · apple/foundationdb · GitHub but I am encountering the same error as bindings/go: error "No rule to make target fdb\_c\_options.g.h" ·…

---

## [Webpage for foundationdb.org seems to be down](https://forums.foundationdb.org/t/webpage-for-foundationdb-org-seems-to-be-down/3781)

<div class="topic-metadata">

**Author:** [@jwr](https://forums.foundationdb.org/u/jwr)\
**Replies:** 10\
**Last updated:** [April 5, 2023, 8:22am UTC](https://forums.foundationdb.org/t/webpage-for-foundationdb-org-seems-to-be-down/3781 "2023-04-05T08:22:11Z")

</div>

---

## [Compilation error with clang 15](https://forums.foundationdb.org/t/compilation-error-with-clang-15/3880)

<div class="topic-metadata">

**Author:** [@osamarin](https://forums.foundationdb.org/u/osamarin)\
**Replies:** 0\
**Last updated:** [March 30, 2023, 12:52pm UTC](https://forums.foundationdb.org/t/compilation-error-with-clang-15/3880 "2023-03-30T12:52:19Z")

</div>

Hello, all and foundationdb developers. I’m trying to compile foundationdb 7.1.29 from sources with the clang 15 compiler and I receive the following error: /home/oleg/git/xdb/FoundationDb/fdbserver/KeyValueStoreRocksD…

---

## [Looking for feedback on a Go FoundationDB blob store](https://forums.foundationdb.org/t/looking-for-feedback-on-a-go-foundationdb-blob-store/3855)

<div class="topic-metadata">

**Author:** [@sunesimonsen](https://forums.foundationdb.org/u/sunesimonsen)\
**Replies:** 2\
**Last updated:** [March 29, 2023, 6:46am UTC](https://forums.foundationdb.org/t/looking-for-feedback-on-a-go-foundationdb-blob-store/3855 "2023-03-29T06:46:10Z")

</div>

I created a blob store layer in Go fdb-blobs, but I’m pretty new to both Go and FoundationDB, so I’m looking for feedback, especially around the API, but also the technical usage of FoundationDB. Thanks in advance.

---

## [Why are issues and pull requests locked on GitHub?](https://forums.foundationdb.org/t/why-are-issues-and-pull-requests-locked-on-github/3848)

<div class="topic-metadata">

**Author:** [@roj](https://forums.foundationdb.org/u/roj)\
**Replies:** 0\
**Last updated:** [March 10, 2023, 12:15pm UTC](https://forums.foundationdb.org/t/why-are-issues-and-pull-requests-locked-on-github/3848 "2023-03-10T12:15:47Z")

</div>

I cannot create issues, nor pull requests on the main repository.

---

## [A PR to fix the build on Ubuntu 22.04 LTS](https://forums.foundationdb.org/t/a-pr-to-fix-the-build-on-ubuntu-22-04-lts/3814)

<div class="topic-metadata">

**Author:** [@mavenraven](https://forums.foundationdb.org/u/mavenraven)\
**Replies:** 5\
**Last updated:** [February 23, 2023, 11:39pm UTC](https://forums.foundationdb.org/t/a-pr-to-fix-the-build-on-ubuntu-22-04-lts/3814 "2023-02-23T23:39:38Z")

</div>

I don’t have permission to create an issue or PR on github, so I’m posting it here. The two PRs are: The forum software only allows me to post 2 links, so I can’t directly link to the relevant issue on github (#7874)…

---

## [Maven artifacts wrong path for native library](https://forums.foundationdb.org/t/maven-artifacts-wrong-path-for-native-library/3800)

<div class="topic-metadata">

**Author:** [@laullon](https://forums.foundationdb.org/u/laullon)\
**Replies:** 6\
**Last updated:** [February 15, 2023, 12:25am UTC](https://forums.foundationdb.org/t/maven-artifacts-wrong-path-for-native-library/3800 "2023-02-15T00:25:31Z")

</div>

I’m using this dependency on my project: \<dependency\> \<groupId\>org.foundationdb\</groupId\> \<artifactId\>fdb-java\</artifactId\> \<version\>7.2.2\</version\> …

---

## [Operator crashes with \`illegal instruction\`](https://forums.foundationdb.org/t/operator-crashes-with-illegal-instruction/3776)

<div class="topic-metadata">

**Author:** [@vrusinov](https://forums.foundationdb.org/u/vrusinov)\
**Replies:** 3\
**Last updated:** [January 31, 2023, 5:11pm UTC](https://forums.foundationdb.org/t/operator-crashes-with-illegal-instruction/3776 "2023-01-31T17:11:17Z")

</div>

Hey, I was playing with FDB operator and found an minor but confusing issue. Can’t report in github, so reporting here: I was following getting started guide and got stuck on FDB operator crashing with the following con…

---

## [Rust FDB Record Layer Work-in-progress Repository](https://forums.foundationdb.org/t/rust-fdb-record-layer-work-in-progress-repository/3765)

<div class="topic-metadata">

**Author:** [@rajivr](https://forums.foundationdb.org/u/rajivr)\
**Replies:** 1\
**Last updated:** [January 26, 2023, 8:51am UTC](https://forums.foundationdb.org/t/rust-fdb-record-layer-work-in-progress-repository/3765 "2023-01-26T08:51:56Z")

</div>

For the past few months, I’ve been working on a Record Layer-like crate (library) for Rust. Thanks to the help provided by @MMcM and @alloc, the design of some of the foundational types and traits (“interfaces” in Java/…

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

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