Skip to content

Commit

Permalink
Increase MAX_BATCH_SIZE to 1024 for Multigets. (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpetrov4 authored Apr 16, 2024
1 parent 5fe17c7 commit 7b4cd3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions table/multiget_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b4cd3c

Please sign in to comment.