foundationdb icon indicating copy to clipboard operation
foundationdb copied to clipboard

GetEstimatedRangeSizeBytes can cause PacketLimitExceeded error on commit proxies

Open jzhou77 opened this issue 9 months ago • 0 comments

As reported here, if GetEstimatedRangeSizeBytes API uses a large key range, it can cause PacketLimitExceeded errors on commit proxies. This is because getStorageMetricsLargeKeyRange() invokes getKeyRangeLocations() to obtain location information for all shards within the specified key range. For a large range, the size of location information is unbounded and may exceed the packet size limit.

jzhou77 avatar May 10 '24 23:05 jzhou77