From 1515dc648fdc721787b10432a20f4bb479ad2c0c Mon Sep 17 00:00:00 2001 From: Dan Lambright Date: Tue, 10 Sep 2024 14:04:52 -0400 Subject: [PATCH] do not run version vector with encryption-at-rest feature. --- fdbserver/CommitProxyServer.actor.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fdbserver/CommitProxyServer.actor.cpp b/fdbserver/CommitProxyServer.actor.cpp index 86f0dbc3655..45400d84ff4 100644 --- a/fdbserver/CommitProxyServer.actor.cpp +++ b/fdbserver/CommitProxyServer.actor.cpp @@ -815,6 +815,11 @@ inline bool shouldBackup(MutationRef const& m) { std::set CommitBatchContext::getWrittenTagsPreResolution() { std::set transactionTags; std::vector cacheVector = { cacheTag }; + // version vector is an experimental feature that does not support encryption at rest or backup. + // This is indicated by returning an empty set of tags from this function. + if (pProxyCommitData->encryptMode.isEncryptionEnabled()) { + return std::set(); + } for (int transactionNum = 0; transactionNum < trs.size(); transactionNum++) { int mutationNum = 0; VectorRef* pMutations = &trs[transactionNum].transaction.mutations;