As mentioned in the following post
It looks to me that RecordLayer does not track the 10MB limit for transactions and makes the higher level code responsible for handling “transaction_too_large (2101)” error. Just want to confirm that it is still the case?
While exceeding the 10MB limit would result in a transaction too large error, in our application, we could inadvertently exceed the 1MB limit, thereby causing a performance issue.
I was wondering if some mechanism exists within Record Layer and FoundationDB that would let us log such transactions, so we can investigate them later on?
The only mechanism that I was able to think of was to set the transaction option SizeLimit
to 1MB, but that would fail any transaction larger than 1MB. Is there some option that would allow us to log transactions larger than 1MB, but not fail them?