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

curvefs/client: Clarify val #2059

Merged
merged 5 commits into from
Nov 11, 2022
Merged

Conversation

shentupenghui
Copy link
Contributor

What problem does this PR solve?

Issue Number: #2049

Problem Summary:

What is changed and how it works?

What's Changed:

  1. rename some variables to camel case style
  2. correct some spelling mistake

How it Works:

also replace all related files

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

Check List

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

@wuhongsong
Copy link
Contributor

good job @shentupenghui

&volumeOpt->allocatorOption.blockGroupOption.allocateOnce);

if (volumeOpt->allocatorOption.type == "bitmap") {
conf->GetValueFatalIfFail(
"volume.bitmapallocator.size_per_bit",
"volume.bitmapAllocator.size_per_bit",
&volumeOpt->allocatorOption.bitmapAllocatorOption.sizePerBit);
conf->GetValueFatalIfFail(
"volume.bitmapallocator.small_alloc_proportion",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

conf->GetValueFatalIfFail(
"volume.bitmapallocator.small_alloc_proportion",

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im sry for missing one unchanged

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

conf->GetValueFatalIfFail( "volume.bitmapallocator.small_alloc_proportion",

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job, lets us wait the ci finished

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI still running, is there some failure occured?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI still running, is there some failure occured?

http://59.111.91.248:8080/job/opencurve_multijob/6935/

as you can see, there is running the failover test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the failover test log shows:

------------------------------------------------------------------------------
test loop mount umount                                                | FAIL |
mount/umount error
------------------------------------------------------------------------------

@wuhongsong wuhongsong changed the title Clarify val curvefs/client: Clarify val Nov 10, 2022
@wuhongsong wuhongsong requested review from Cyber-SiKu and ilixiaocui and removed request for ilixiaocui November 10, 2022 07:46
@wuhongsong
Copy link
Contributor

recheck

Copy link
Contributor

@wuhongsong wuhongsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job, thank you for your contribution

curvefs/src/client/common/config.cpp Outdated Show resolved Hide resolved
curvefs/src/client/common/config.cpp Outdated Show resolved Hide resolved
curvefs/test/client/common/test_config.cpp Outdated Show resolved Hide resolved
curvefs/test/client/common/test_config.cpp Outdated Show resolved Hide resolved
curvefs/test/client/common/test_config.cpp Outdated Show resolved Hide resolved
curvefs/test/client/common/test_config.cpp Outdated Show resolved Hide resolved
curvefs/test/client/common/test_config.cpp Outdated Show resolved Hide resolved
curvefs/test/client/common/test_config.cpp Outdated Show resolved Hide resolved
Signed-off-by: 申屠鹏会 <[email protected]>
@shentupenghui
Copy link
Contributor Author

@Cyber-SiKu all done in the latest commit

@Cyber-SiKu
Copy link
Contributor

@Cyber-SiKu all done in the latest commit

LGTM!

@Cyber-SiKu Cyber-SiKu merged commit aba5e0b into opencurve:master Nov 11, 2022
@shentupenghui shentupenghui deleted the clarify-val branch November 14, 2022 00:34
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