GeezerVison is showing github.com — topom: set migration_async_maxbulks=200, migration_async_numkeys=100 · coder-java-caicai/codis@511be33
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: config/dashboard.toml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -18,10 +18,10 @@ admin_addr = "0.0.0.0:18080" |
18 | 18 |
|
19 | 19 | # Set arguments for data migration (only accept 'sync' & 'semi-async'). |
20 | 20 | migration_method = "semi-async" |
21 | | -migration_async_maxbulks = 2000 |
| 21 | +migration_async_maxbulks = 200 |
22 | 22 | migration_async_maxbytes = "32mb" |
23 | 23 | migration_async_numkeys = 100 |
24 | | -migration_timeout = "5m" |
| 24 | +migration_timeout = "30s" |
25 | 25 |
|
26 | 26 | # Set configs for redis sentinel. |
27 | 27 | sentinel_quorum = 2 |
|
Collapse file
Copy file name to clipboardExpand all lines: deploy/root/opt/codis/etc/10.4.10.100_18080/dashboard.toml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -17,10 +17,10 @@ admin_addr = "10.4.10.100:18080" |
17 | 17 |
|
18 | 18 | # Set arguments for data migration (only accept 'sync' & 'semi-async'). |
19 | 19 | migration_method = "semi-async" |
20 | | -migration_async_maxbulks = 2000 |
| 20 | +migration_async_maxbulks = 200 |
21 | 21 | migration_async_maxbytes = "32mb" |
22 | 22 | migration_async_numkeys = 100 |
23 | | -migration_timeout = "5m" |
| 23 | +migration_timeout = "30s" |
24 | 24 |
|
25 | 25 | # Set configs for redis sentinel. |
26 | 26 | sentinel_quorum = 2 |
|
Collapse file
Copy file name to clipboardExpand all lines: deploy/root/opt/codis/etc/127.0.0.1_18080/dashboard.toml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -17,10 +17,10 @@ admin_addr = "127.0.0.1:18080" |
17 | 17 |
|
18 | 18 | # Set arguments for data migration (only accept 'sync' & 'semi-async'). |
19 | 19 | migration_method = "semi-async" |
20 | | -migration_async_maxbulks = 2000 |
| 20 | +migration_async_maxbulks = 200 |
21 | 21 | migration_async_maxbytes = "32mb" |
22 | 22 | migration_async_numkeys = 100 |
23 | | -migration_timeout = "5m" |
| 23 | +migration_timeout = "30s" |
24 | 24 |
|
25 | 25 | # Set configs for redis sentinel. |
26 | 26 | sentinel_quorum = 2 |
|
Collapse file
Copy file name to clipboardExpand all lines: deploy/templates/dashboard.toml.template +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -17,10 +17,10 @@ admin_addr = "{ADMIN_ADDR}" |
17 | 17 |
|
18 | 18 | # Set arguments for data migration (only accept 'sync' & 'semi-async'). |
19 | 19 | migration_method = "semi-async" |
20 | | -migration_async_maxbulks = 2000 |
| 20 | +migration_async_maxbulks = 200 |
21 | 21 | migration_async_maxbytes = "32mb" |
22 | 22 | migration_async_numkeys = 100 |
23 | | -migration_timeout = "5m" |
| 23 | +migration_timeout = "30s" |
24 | 24 |
|
25 | 25 | # Set configs for redis sentinel. |
26 | 26 | sentinel_quorum = {SENTINEL_QUORUM} |
|
Collapse file
Copy file name to clipboardExpand all lines: example/dashboard.py +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -33,10 +33,10 @@ def _open_config(admin_port, product_name, product_auth=None): |
33 | 33 | f.write('product_auth = "{}"\n'.format(product_auth)) |
34 | 34 | f.write('admin_addr = ":{}"\n'.format(admin_port)) |
35 | 35 | f.write('migration_method = "semi-async"\n') |
36 | | - f.write('migration_async_maxbulks = 2000\n') |
| 36 | + f.write('migration_async_maxbulks = 200\n') |
37 | 37 | f.write('migration_async_maxbytes = "32mb"\n') |
38 | 38 | f.write('migration_async_numkeys = 100\n') |
39 | | - f.write('migration_timeout = "5m"\n') |
| 39 | + f.write('migration_timeout = "30s"\n') |
40 | 40 | f.write('sentinel_quorum = 2\n') |
41 | 41 | f.write('sentinel_parallel_syncs = 1\n') |
42 | 42 | f.write('sentinel_down_after = "5s"\n') |
|
Collapse file
Copy file name to clipboardExpand all lines: pkg/topom/config.go +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -35,10 +35,10 @@ admin_addr = "0.0.0.0:18080" |
35 | 35 |
|
36 | 36 | # Set arguments for data migration (only accept 'sync' & 'semi-async'). |
37 | 37 | migration_method = "semi-async" |
38 | | -migration_async_maxbulks = 2000 |
| 38 | +migration_async_maxbulks = 200 |
39 | 39 | migration_async_maxbytes = "32mb" |
40 | 40 | migration_async_numkeys = 100 |
41 | | -migration_timeout = "5m" |
| 41 | +migration_timeout = "30s" |
42 | 42 |
|
43 | 43 | # Set configs for redis sentinel. |
44 | 44 | sentinel_quorum = 2 |
|