vinyl: move transaction size sanity check to quota
There's a sanity check in vinyl_engine_prepare, which checks if the transaction size is less than the configured limit and fails without waiting for quota if it isn't. Let's move this check to vy_quota_use, because it's really a business of the quota object. This implies that vy_quota_use has to set diag to differentiate this error from timeout.
Loading
Please register or sign in to comment