-
Notifications
You must be signed in to change notification settings - Fork 997
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
WIP: Remove active and shuffle indices caches #3631
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3631 +/- ##
===========================================
+ Coverage 48.86% 59.42% +10.56%
===========================================
Files 162 169 +7
Lines 10880 11112 +232
===========================================
+ Hits 5316 6603 +1287
+ Misses 4687 3640 -1047
+ Partials 877 869 -8 |
@@ -175,51 +175,6 @@ func TestComputeCommittee_WithoutCache(t *testing.T) { | |||
} | |||
} | |||
|
|||
func TestComputeCommittee_WithCache(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't you want to add the same tests when you add in the new cache? maybe just comment ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already tested in in the cache package, since now we are using a feature flag, this was just testing that the feature flag should work
Co-Authored-By: shayzluf <thezluf@gmail.com>
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Still relevant @terencechain ? |
@rauljordan yes this should get merged after we use new cache by default |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This pull request has been closed due to inactivity. Please reopen this pull request if you would like to continue working on it. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Closing as this PR has been replaced by #4266. |
Review and merge #3629 first. Resolves #3106.
This PR removes active and shuffle indices caches, it's a nice change because it allows us to remove all the
helpers.ClearAllCaches()
instances. This will enable us to use the new cache with a feature flag--new-cache
Change list:
helpers.ClearAllCaches()
, it's no longer needed