Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copyset schedule select copyset random #1811

Merged

Conversation

cw123
Copy link
Contributor

@cw123 cw123 commented Aug 12, 2022

Signed-off-by: chenwei 461432360@qq.com

What problem does this PR solve?

Issue Number: #xxx

Problem Summary:

What is changed and how it works?

What's Changed:

How it Works:

Side effects(Breaking backward compatibility? Performance regression?):

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@cw123 cw123 force-pushed the copyset_schedule_select_copyset_ramdom branch from e71aa51 to c1dc53b Compare August 12, 2022 07:23
Signed-off-by: chenwei <461432360@qq.com>
@cw123
Copy link
Contributor Author

cw123 commented Aug 15, 2022

create 100 fs

topology_metric_metaserver_id_1_copyset_num 6
topology_metric_metaserver_id_2_copyset_num 6
topology_metric_metaserver_id_3_copyset_num 6
topology_metric_metaserver_id_4_copyset_num 6
topology_metric_metaserver_id_5_copyset_num 6
topology_metric_metaserver_id_6_copyset_num 6
topology_metric_metaserver_id_7_copyset_num 6
topology_metric_metaserver_id_8_copyset_num 6
topology_metric_metaserver_id_9_copyset_num 6
topology_metric_pool_pool1_copyset_num 18

topology_metric_metaserver_id_1_partition_num 401
topology_metric_metaserver_id_2_partition_num 400
topology_metric_metaserver_id_3_partition_num 399
topology_metric_metaserver_id_4_partition_num 399
topology_metric_metaserver_id_5_partition_num 401
topology_metric_metaserver_id_6_partition_num 399
topology_metric_metaserver_id_7_partition_num 400
topology_metric_metaserver_id_8_partition_num 400
topology_metric_metaserver_id_9_partition_num 401
topology_metric_pool_pool1_partition_num 1200

@cw123
Copy link
Contributor Author

cw123 commented Aug 15, 2022

create 1000 fs,mdtest run on fs1,
topology_metric_metaserver_id_1_partition_num 4000
topology_metric_metaserver_id_2_partition_num 3999
topology_metric_metaserver_id_3_partition_num 4001
topology_metric_metaserver_id_4_partition_num 3999
topology_metric_metaserver_id_5_partition_num 4001
topology_metric_metaserver_id_6_partition_num 3999
topology_metric_metaserver_id_7_partition_num 4000
topology_metric_metaserver_id_8_partition_num 4000
topology_metric_metaserver_id_9_partition_num 4001
topology_metric_pool_pool1_partition_num 12000

topology_metric_metaserver_id_1_copyset_num 36
topology_metric_metaserver_id_2_copyset_num 36
topology_metric_metaserver_id_3_copyset_num 36
topology_metric_metaserver_id_4_copyset_num 36
topology_metric_metaserver_id_5_copyset_num 36
topology_metric_metaserver_id_6_copyset_num 36
topology_metric_metaserver_id_7_copyset_num 36
topology_metric_metaserver_id_8_copyset_num 36
topology_metric_metaserver_id_9_copyset_num 36
topology_metric_pool_pool1_copyset_num 108

topology_fs_id_1_inode_num 2000095
topology_fs_id_1_type_directory_inode_num 1000065
topology_fs_id_1_type_file_inode_num 0
topology_fs_id_1_type_s3_inode_num 1000030
topology_fs_id_1_type_sym_link_inode_num 0

@cw123 cw123 force-pushed the copyset_schedule_select_copyset_ramdom branch from c1dc53b to 7cc9c88 Compare August 15, 2022 07:49
@cw123
Copy link
Contributor Author

cw123 commented Aug 15, 2022

offline one metaserver

topology_metric_metaserver_id_1_copyset_num 36
topology_metric_metaserver_id_2_copyset_num 36
topology_metric_metaserver_id_3_copyset_num 36
topology_metric_metaserver_id_4_copyset_num 50
topology_metric_metaserver_id_5_copyset_num 58
topology_metric_metaserver_id_6_copyset_num 36
topology_metric_metaserver_id_7_copyset_num 36
topology_metric_metaserver_id_8_copyset_num 0
topology_metric_metaserver_id_9_copyset_num 36
topology_metric_pool_pool1_copyset_num 108

topology_metric_metaserver_id_1_partition_num 4000
topology_metric_metaserver_id_2_partition_num 3999
topology_metric_metaserver_id_3_partition_num 4001
topology_metric_metaserver_id_4_partition_num 5588
topology_metric_metaserver_id_5_partition_num 6412
topology_metric_metaserver_id_6_partition_num 3999
topology_metric_metaserver_id_7_partition_num 4000
topology_metric_metaserver_id_8_partition_num 0
topology_metric_metaserver_id_9_partition_num 4001
topology_metric_pool_pool1_partition_num 12000

@cw123
Copy link
Contributor Author

cw123 commented Aug 15, 2022

start offline metaserver,wait a while

topology_metric_metaserver_id_1_copyset_num 36
topology_metric_metaserver_id_2_copyset_num 36
topology_metric_metaserver_id_3_copyset_num 36
topology_metric_metaserver_id_4_copyset_num 36
topology_metric_metaserver_id_5_copyset_num 36
topology_metric_metaserver_id_6_copyset_num 36
topology_metric_metaserver_id_7_copyset_num 36
topology_metric_metaserver_id_8_copyset_num 36
topology_metric_metaserver_id_9_copyset_num 36
topology_metric_pool_pool1_copyset_num 108

topology_metric_metaserver_id_1_partition_num 4000
topology_metric_metaserver_id_2_partition_num 3999
topology_metric_metaserver_id_3_partition_num 4001
topology_metric_metaserver_id_4_partition_num 3998
topology_metric_metaserver_id_5_partition_num 3900
topology_metric_metaserver_id_6_partition_num 3999
topology_metric_metaserver_id_7_partition_num 4000
topology_metric_metaserver_id_8_partition_num 4102
topology_metric_metaserver_id_9_partition_num 4001
topology_metric_pool_pool1_partition_num 12000

@cw123 cw123 closed this Aug 15, 2022
@cw123 cw123 deleted the copyset_schedule_select_copyset_ramdom branch August 15, 2022 11:49
@cw123 cw123 restored the copyset_schedule_select_copyset_ramdom branch August 15, 2022 11:51
@cw123 cw123 reopened this Aug 15, 2022
@cw123 cw123 merged commit 8f7aefb into opencurve:master Aug 15, 2022
@cw123 cw123 deleted the copyset_schedule_select_copyset_ramdom branch August 15, 2022 12:35
@cw123 cw123 restored the copyset_schedule_select_copyset_ramdom branch August 15, 2022 12:35
@cw123 cw123 deleted the copyset_schedule_select_copyset_ramdom branch August 15, 2022 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants