Commit d33b9d9b authored by Brandon Nesterenko's avatar Brandon Nesterenko

MDEV-32014: Reduce min val of large_commit_threshold for debug builds

To help in the testing of MDEV-32014, allow debug_builds to
set a lower value for binlog_large_commit_threshold
parent fba09f8c
......@@ -7408,5 +7408,13 @@ static Sys_var_ulonglong Sys_binlog_large_commit_threshold(
"while holding a lock that prevents other transactions from "
"binlogging",
GLOBAL_VAR(opt_binlog_commit_by_rotate_threshold),
CMD_LINE(REQUIRED_ARG), VALID_RANGE(10 * 1024 * 1024, ULLONG_MAX),
CMD_LINE(REQUIRED_ARG),
#ifndef DBUG_OFF
// Allow a smaller minimum value for debug builds to help with testing
VALID_RANGE(100 * 1024, ULLONG_MAX),
#else
VALID_RANGE(10 * 1024 * 1024, ULLONG_MAX),
#endif
DEFAULT(128 * 1024 * 1024), BLOCK_SIZE(1));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment