public void grabQuota(long writeReqs, long writeSize, long readReqs, long readSize) {
    reqsLimiter.consume(writeReqs + readReqs);
    reqSizeLimiter.consume(writeSize + readSize);

    if (writeSize > 0) {
      writeReqsLimiter.consume(writeReqs);
      writeSizeLimiter.consume(writeSize);
    }
    if (readSize > 0) {
      readReqsLimiter.consume(readReqs);
      readSizeLimiter.consume(readSize);
    }
  }
Removes the specified write and read amount from the quota. At this point the write and read
amount will be an estimate, that will be later adjusted with a consumeWrite()/consumeRead()
call.

@param writeReqs the write requests that will be removed from the current quota
@param writeSize the write size that will be removed from the current quota
@param readReqs the read requests that will be removed from the current quota
@param readSize the read size that will be removed from the current quota
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/quotas/QuotaLimiter.java