[NO ISSUE][STO] Fix write rate limiter calculation
authorMurtadha Hubail <murtadha.hubail@couchbase.com>
Mon, 14 Feb 2022 21:15:08 +0000 (00:15 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Tue, 15 Feb 2022 21:06:54 +0000 (21:06 +0000)
commitf9152062cf3126d6aa45062e19a7cb2fd96aeb58
treed659ad9453d12064066c9d5a16faade8bfb89777
parent2099f8009596796a9b067480129d9dddf4860ed5
[NO ISSUE][STO] Fix write rate limiter calculation

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Fix the write request size to the write rate limiter
  by considering the page size.

Change-Id: If875755d65476339b90adcf6e654e32e97655f3d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15286
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/LSMIndexPageWriteCallback.java