Skip to content

Add IsFastStorageStrategy for more details when upgrade to FSS #2477

Merged
xiangjianmeng merged 14 commits intodevfrom
zhangkai/fss-upgrade-tips
Nov 10, 2022
Merged

Add IsFastStorageStrategy for more details when upgrade to FSS #2477
xiangjianmeng merged 14 commits intodevfrom
zhangkai/fss-upgrade-tips

Conversation

@giskook
Copy link
Contributor

@giskook giskook commented Aug 29, 2022

add funcItem

add IsUpgrade function

export IsUpgradable from iavl module.

add ut for IsUpgradeable, add IsUpgradeable support for repaire-state

better tips and correct function name

export iavl IsFastStorageStrategy function

add tips with more details

Add tips more details

  • Targeted PR against correct branch (see CONTRIBUTING.md)

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

  • Wrote tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md

  • Reviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge PR #XYZ: [title]" (coding standards)

@codecov-commenter
Copy link

codecov-commenter commented Aug 29, 2022

Codecov Report

Merging #2477 (14bd27d) into dev (b440b77) will decrease coverage by 0.00%.
The diff coverage is 55.55%.

@@            Coverage Diff             @@
##              dev    #2477      +/-   ##
==========================================
- Coverage   35.79%   35.79%   -0.01%     
==========================================
  Files         414      414              
  Lines       43547    43550       +3     
==========================================
+ Hits        15587    15588       +1     
- Misses      26844    26846       +2     
  Partials     1116     1116              
Impacted Files Coverage Δ
app/utils/sanity/start.go 69.23% <ø> (ø)
app/utils/sanity/type.go 80.48% <55.55%> (-3.73%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@giskook giskook force-pushed the zhangkai/fss-upgrade-tips branch 2 times, most recently from 8dbf6f3 to c1a75a2 Compare August 29, 2022 07:38
@giskook giskook force-pushed the zhangkai/fss-upgrade-tips branch 4 times, most recently from dde9bfd to 1f350fb Compare September 7, 2022 06:38
@giskook giskook force-pushed the zhangkai/fss-upgrade-tips branch from 7480d7a to 5d277fe Compare September 9, 2022 02:51
add funcItem

add IsUpgrade function

export IsUpgradable from iavl module.

add ut for IsUpgradeable, add IsUpgradeable support for repaire-state

better tips and correct function name

export iavl IsFastStorageStrategy function

add tips with more details

Add tips more details

change ut's behavior when export IsFastStorageStrategy

change default value when the function is changed to IsFastStorageStragety

use constant instead of hard code, rename checkConflictOpts(opt) to tips

fix NewDB function

rm tips function rm hint field rename option to checkOption and put tips to conflictPairOption's field

rename item's value to expect
@giskook giskook force-pushed the zhangkai/fss-upgrade-tips branch from 5d277fe to 44e7e47 Compare September 9, 2022 02:51
lyh169
lyh169 previously approved these changes Sep 9, 2022
zjg555543
zjg555543 previously approved these changes Sep 13, 2022
@giskook giskook dismissed stale reviews from zjg555543 and lyh169 via 0a18ec4 September 23, 2022 02:49
@giskook giskook marked this pull request as draft October 26, 2022 06:14
@giskook giskook marked this pull request as ready for review October 31, 2022 01:54
@giskook giskook requested review from lyh169 and zjg555543 November 1, 2022 01:43
@xiangjianmeng xiangjianmeng merged commit 2d471fd into dev Nov 10, 2022
@xiangjianmeng xiangjianmeng deleted the zhangkai/fss-upgrade-tips branch November 10, 2022 10:32
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.

5 participants