mirror of
https://github.com/Icinga/icingadb.git
synced 2026-06-08 16:34:29 -04:00
Make value for SET SESSION wsrep_sync_wait configurable
This commit is contained in:
parent
51e5434374
commit
0b94df86a6
1 changed files with 4 additions and 0 deletions
|
|
@ -54,6 +54,10 @@ type Options struct {
|
|||
// MaxRowsPerTransaction defines the maximum number of rows per transaction.
|
||||
// The default is 2^13, which in our tests showed the best performance in terms of execution time and parallelism.
|
||||
MaxRowsPerTransaction int `yaml:"max_rows_per_transaction" default:"8192"`
|
||||
|
||||
// WsrepSyncWait defines which kinds of SQL statements catch up all pending sync between nodes first, see:
|
||||
// https://mariadb.com/kb/en/galera-cluster-system-variables/#wsrep_sync_wait
|
||||
WsrepSyncWait int `yaml:"wsrep_sync_wait" default:"7"`
|
||||
}
|
||||
|
||||
// Validate checks constraints in the supplied database options and returns an error if they are violated.
|
||||
|
|
|
|||
Loading…
Reference in a new issue