Update fdbserver/TransactionTagCounter.cpp
Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
This commit is contained in:
parent
b7c9fb2ca9
commit
4d9d0afe01
|
@ -92,7 +92,7 @@ class TransactionTagCounterImpl {
|
|||
|
||||
// Round up to the nearest page size
|
||||
static int64_t costFunction(int64_t bytes) {
|
||||
return (bytes - 1) / CLIENT_KNOBS->READ_COST_BYTE_FACTOR + CLIENT_KNOBS->READ_COST_BYTE_FACTOR;
|
||||
return (bytes - 1) / CLIENT_KNOBS->READ_COST_BYTE_FACTOR + 1;
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue