From 7b4cd3c7c6d99aedc4b2af5ec207e750417d14a0 Mon Sep 17 00:00:00 2001 From: Dmitri Petrov Date: Tue, 16 Apr 2024 10:21:50 -0700 Subject: [PATCH] Increase MAX_BATCH_SIZE to 1024 for Multigets. (#324) --- table/multiget_context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/table/multiget_context.h b/table/multiget_context.h index 240ce2f7c62..422418988be 100644 --- a/table/multiget_context.h +++ b/table/multiget_context.h @@ -98,10 +98,10 @@ struct KeyContext { class MultiGetContext { public: // RocksDB-Cloud contributions below. Summary: - // Changed to use std::bitset as a mask and increased MAX_BATCH_SIZE to 128. + // Changed to use std::bitset as a mask and increased MAX_BATCH_SIZE to 1024. // Limit the number of keys in a batch to this number. - static const int MAX_BATCH_SIZE = 128; + static const int MAX_BATCH_SIZE = 1024; // A bitmask of at least MAX_BATCH_SIZE - 1 bits, so that // Mask{1} << MAX_BATCH_SIZE is well defined