summaryrefslogtreecommitdiff
path: root/sql/wsrep_var.h
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2016-05-06 16:07:53 +0200
committerNirbhay Choubey <nirbhay@mariadb.com>2016-07-25 11:44:57 -0400
commit74f80b349924c7f0c091a0973dea0ec61191c2c9 (patch)
treec6d0265edd1470a850c70eda77f773ea315ca85b /sql/wsrep_var.h
parent5197fcf6b4611a26b3847d1101f1a4fb6d17570a (diff)
downloadmariadb-git-74f80b349924c7f0c091a0973dea0ec61191c2c9.tar.gz
MW-267 Enforce wsrep_max_ws_size limit in wsrep provider
This changes variable wsrep_max_ws_size so that its value is linked to the value of provider option repl.max_ws_size. That is, changing the value of variable wsrep_max_ws_size will change the value of provider option repl.max_ws_size, and viceversa. The writeset size limit is always enforced in the provider, regardless of which option is used.
Diffstat (limited to 'sql/wsrep_var.h')
-rw-r--r--sql/wsrep_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/wsrep_var.h b/sql/wsrep_var.h
index 524dabfd9c0..f72df9d098a 100644
--- a/sql/wsrep_var.h
+++ b/sql/wsrep_var.h
@@ -83,4 +83,6 @@ extern bool wsrep_slave_threads_update UPDATE_ARGS;
extern bool wsrep_desync_check CHECK_ARGS;
extern bool wsrep_desync_update UPDATE_ARGS;
+extern bool wsrep_max_ws_size_update UPDATE_ARGS;
+
#endif /* WSREP_VAR_H */