summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/changetimerecorder/src/changetimerecorder.c4
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c12
2 files changed, 8 insertions, 8 deletions
diff --git a/xlators/features/changetimerecorder/src/changetimerecorder.c b/xlators/features/changetimerecorder/src/changetimerecorder.c
index 933f496028c..4e4ea851a86 100644
--- a/xlators/features/changetimerecorder/src/changetimerecorder.c
+++ b/xlators/features/changetimerecorder/src/changetimerecorder.c
@@ -2441,11 +2441,11 @@ struct volume_options options[] = {
},
{ .key = {GFDB_SQL_PARAM_WAL_AUTOCHECK},
.type = GF_OPTION_TYPE_INT,
- .default_value = "1000"
+ .default_value = "25000"
},
{ .key = {GFDB_SQL_PARAM_CACHE_SIZE},
.type = GF_OPTION_TYPE_INT,
- .default_value = "1000"
+ .default_value = "12500"
},
{ .key = {GFDB_SQL_PARAM_PAGE_SIZE},
.type = GF_OPTION_TYPE_INT,
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 53e8a441a2f..0c67135db3f 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -2839,29 +2839,29 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
{ .key = "features.ctr-sql-db-cachesize",
.voltype = "features/changetimerecorder",
- .value = "1000",
+ .value = "12500",
.option = "sql-db-cachesize",
.validate_fn = validate_ctr_sql_params,
.op_version = GD_OP_VERSION_3_7_7,
.description = "Defines the cache size of the sqlite database of "
"changetimerecorder xlator."
"The input to this option is in pages."
- "Each page is 4096 bytes. Default value is 1000 "
- "pages i.e ~ 4 MB. "
+ "Each page is 4096 bytes. Default value is 12500 "
+ "pages."
"The max value is 262144 pages i.e 1 GB and "
"the min value is 1000 pages i.e ~ 4 MB. "
},
{ .key = "features.ctr-sql-db-wal-autocheckpoint",
.voltype = "features/changetimerecorder",
- .value = "1000",
+ .value = "25000",
.option = "sql-db-wal-autocheckpoint",
.validate_fn = validate_ctr_sql_params,
.op_version = GD_OP_VERSION_3_7_7,
.description = "Defines the autocheckpoint of the sqlite database of "
" changetimerecorder. "
"The input to this option is in pages. "
- "Each page is 4096 bytes. Default value is 1000 "
- "pages i.e ~ 4 MB."
+ "Each page is 4096 bytes. Default value is 25000 "
+ "pages."
"The max value is 262144 pages i.e 1 GB and "
"the min value is 1000 pages i.e ~4 MB."
},