diff options
author | Joseph Fernandes <josferna@redhat.com> | 2015-12-30 16:53:25 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2016-09-22 13:28:34 -0700 |
commit | 7090cf287847a808d6d0225bc9110f44c3248e12 (patch) | |
tree | ffdd7025f3a3df674bec432d0fbfbdde02244bd1 /xlators/mgmt | |
parent | c5426a13ad28fb2c6f0ed62404dbe60ea0dfaad2 (diff) |
tier/ctr/sql : Dafault values for sql cache and wal size
Setting default values for sql cache and wal size
cache : 12500 pages
wal : 25000 pages
1 pages - 4096 bytes
Change-Id: Iae3927e021af2e3f7617d45f84e81de3b7d93f1c
BUG: 1377864
Signed-off-by: Dan Lambright <dlambrig@redhat.com>
Reviewed-on: http://review.gluster.org/15536
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 12 |
1 files changed, 6 insertions, 6 deletions
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." }, |