Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Remove filter_snapshot_storages_for_incremental_snapshot() #19349

Merged

Conversation

brooksprumo
Copy link
Contributor

@brooksprumo brooksprumo commented Aug 20, 2021

Problem

Now that we can get just the subset of snapshot storages we want, the extra filtering afterwards is redundant.

Summary of Changes

Remove calls to filter_snapshot_storages_for_incremental_snapshot(), and the function itself.

Related to #17088

@brooksprumo brooksprumo changed the title remove filter snapshot storages Remove filter_snapshot_storages_for_incremental_snapshot() Aug 20, 2021
@brooksprumo brooksprumo force-pushed the remove-filter-snapshot-storages branch from 4236bb4 to 4a93dba Compare August 20, 2021 21:27
@codecov
Copy link

codecov bot commented Aug 21, 2021

Codecov Report

Merging #19349 (4a93dba) into master (86ef147) will increase coverage by 0.0%.
The diff coverage is 100.0%.

❗ Current head 4a93dba differs from pull request most recent head 2ca39de. Consider uploading reports for the commit 2ca39de to get more accurate results

@@           Coverage Diff           @@
##           master   #19349   +/-   ##
=======================================
  Coverage    82.8%    82.8%           
=======================================
  Files         457      457           
  Lines      130682   130686    +4     
=======================================
+ Hits       108306   108317   +11     
+ Misses      22376    22369    -7     

@brooksprumo brooksprumo marked this pull request as ready for review August 21, 2021 17:42
carllin
carllin previously approved these changes Aug 21, 2021
@brooksprumo brooksprumo force-pushed the remove-filter-snapshot-storages branch from 4a93dba to 5b73969 Compare August 22, 2021 03:00
@mergify mergify bot dismissed carllin’s stale review August 22, 2021 03:01

Pull request has been modified.

Now that we can get just the subset of snapshot storages we want, the extra
filtering afterwards is redundant.
@brooksprumo brooksprumo force-pushed the remove-filter-snapshot-storages branch from 5b73969 to 2ca39de Compare August 23, 2021 12:36
@brooksprumo brooksprumo merged commit 1a4bede into solana-labs:master Aug 23, 2021
@brooksprumo brooksprumo deleted the remove-filter-snapshot-storages branch August 23, 2021 14:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants