1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-06-01 10:45:56 +08:00

Update fdbserver/GrvProxyServer.actor.cpp

Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
This commit is contained in:
Lukas Joswiak 2022-07-22 09:24:29 -07:00
parent 8395c6cf3f
commit a26344b877

@ -332,7 +332,7 @@ ACTOR Future<Void> globalConfigMigrate(GrvProxyData* grvProxyData) {
if (sampleRate.present()) {
const double sampleRateDbl =
BinaryReader::fromStringRef<double>(sampleRate.get().contents(), Unversioned());
Tuple rate = Tuple().append(sampleRateDbl);
Tuple rate = Tuple::makeTuple(sampleRateDbl);
tr->set(GlobalConfig::prefixedKey(fdbClientInfoTxnSampleRate), rate.pack());
}
if (sizeLimit.present()) {