GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • config
    • dashboard.toml
  • deploy
    • root/opt/codis/etc
      • 10.4.10.100_18080
        • dashboard.toml
      • 127.0.0.1_18080
        • dashboard.toml
    • templates
      • dashboard.toml.template
  • example
    • dashboard.py
  • pkg/topom
    • config.go
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎config/dashboard.toml‎

Copy file name to clipboardExpand all lines: config/dashboard.toml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ admin_addr = "0.0.0.0:18080"
1818

1919
# Set arguments for data migration (only accept 'sync' & 'semi-async').
2020
migration_method = "semi-async"
21-
migration_async_maxbulks = 2000
21+
migration_async_maxbulks = 200
2222
migration_async_maxbytes = "32mb"
2323
migration_async_numkeys = 100
24-
migration_timeout = "5m"
24+
migration_timeout = "30s"
2525

2626
# Set configs for redis sentinel.
2727
sentinel_quorum = 2
Collapse file

‎deploy/root/opt/codis/etc/10.4.10.100_18080/dashboard.toml‎

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 numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ admin_addr = "10.4.10.100:18080"
1717

1818
# Set arguments for data migration (only accept 'sync' & 'semi-async').
1919
migration_method = "semi-async"
20-
migration_async_maxbulks = 2000
20+
migration_async_maxbulks = 200
2121
migration_async_maxbytes = "32mb"
2222
migration_async_numkeys = 100
23-
migration_timeout = "5m"
23+
migration_timeout = "30s"
2424

2525
# Set configs for redis sentinel.
2626
sentinel_quorum = 2
Collapse file

‎deploy/root/opt/codis/etc/127.0.0.1_18080/dashboard.toml‎

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 numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ admin_addr = "127.0.0.1:18080"
1717

1818
# Set arguments for data migration (only accept 'sync' & 'semi-async').
1919
migration_method = "semi-async"
20-
migration_async_maxbulks = 2000
20+
migration_async_maxbulks = 200
2121
migration_async_maxbytes = "32mb"
2222
migration_async_numkeys = 100
23-
migration_timeout = "5m"
23+
migration_timeout = "30s"
2424

2525
# Set configs for redis sentinel.
2626
sentinel_quorum = 2
Collapse file

‎deploy/templates/dashboard.toml.template‎

Copy file name to clipboardExpand all lines: deploy/templates/dashboard.toml.template
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ admin_addr = "{ADMIN_ADDR}"
1717

1818
# Set arguments for data migration (only accept 'sync' & 'semi-async').
1919
migration_method = "semi-async"
20-
migration_async_maxbulks = 2000
20+
migration_async_maxbulks = 200
2121
migration_async_maxbytes = "32mb"
2222
migration_async_numkeys = 100
23-
migration_timeout = "5m"
23+
migration_timeout = "30s"
2424

2525
# Set configs for redis sentinel.
2626
sentinel_quorum = {SENTINEL_QUORUM}
Collapse file

‎example/dashboard.py‎

Copy file name to clipboardExpand all lines: example/dashboard.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ def _open_config(admin_port, product_name, product_auth=None):
3333
f.write('product_auth = "{}"\n'.format(product_auth))
3434
f.write('admin_addr = ":{}"\n'.format(admin_port))
3535
f.write('migration_method = "semi-async"\n')
36-
f.write('migration_async_maxbulks = 2000\n')
36+
f.write('migration_async_maxbulks = 200\n')
3737
f.write('migration_async_maxbytes = "32mb"\n')
3838
f.write('migration_async_numkeys = 100\n')
39-
f.write('migration_timeout = "5m"\n')
39+
f.write('migration_timeout = "30s"\n')
4040
f.write('sentinel_quorum = 2\n')
4141
f.write('sentinel_parallel_syncs = 1\n')
4242
f.write('sentinel_down_after = "5s"\n')
Collapse file

‎pkg/topom/config.go‎

Copy file name to clipboardExpand all lines: pkg/topom/config.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ admin_addr = "0.0.0.0:18080"
3535
3636
# Set arguments for data migration (only accept 'sync' & 'semi-async').
3737
migration_method = "semi-async"
38-
migration_async_maxbulks = 2000
38+
migration_async_maxbulks = 200
3939
migration_async_maxbytes = "32mb"
4040
migration_async_numkeys = 100
41-
migration_timeout = "5m"
41+
migration_timeout = "30s"
4242
4343
# Set configs for redis sentinel.
4444
sentinel_quorum = 2

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.