config, kv: make TxnEntryCountLimit and TxnTotalSizeLimit configurable #11058
What problem does this PR solve?
Cherry-pick (#9035) to master.
What is changed and how it works?
It is useful if we make the transaction size limit configurable.
@@ Coverage Diff @@ ## master #11058 +/- ## =========================================== Coverage 81.1018% 81.1018% =========================================== Files 419 419 Lines 89924 89924 =========================================== Hits 72930 72930 Misses 11725 11725 Partials 5269 5269
Jul 4, 2019
6 checks passed
ci/circleci Your tests passed on CircleCI!Details
idc-jenkins-ci-tidb/build Jenkins job succeeded.Details
idc-jenkins-ci-tidb/build_check_race Jenkins job succeeded.Details
idc-jenkins-ci-tidb/check_dev Jenkins job succeeded.Details
idc-jenkins-ci-tidb/check_dev_2 Jenkins job succeeded.Details
license/cla Contributor License Agreement is signed.Details
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.