Backward compatibility of stored keys

Does FoundationDB keep/ensure the backward compatibility of stored keys such as a tuple? In Data Modeling — FoundationDB 6.2, FoundationDB stored a tuple key as a value. But I’m not sure that is recommended and safe usage.

tr.Set(fdb.Key("index"), tuple.Tuple{"id"}.FDBKey())

FoundationDB will both not change your keys or values during an upgrade, nor will the tuple specification or implementation change in backwards incompatible ways.

It’s safe to store values that are tuple encoded.

2 Likes

I was relieved to hear that, thanks!