apple / apple/foundationdb

Document that the keys returned by getBoundaryKeys API are not necessarily real keys

Open
#3,608 0 comments 1 reaction 1 assignee Claimed by @dongxinEric View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

The keys chosen for shard boundaries may not be actual keys in the database. For efficiency reasons, it is often the case that these boundaries will be truncated versions of real keys (e.g. the boundary between consecutive keys `abc` and `def` could be `d`).

This has implications for users when keys they store are encoded in some way (e.g. the tuple layer), as they will not be able to reliably decode the boundary keys.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.