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

plumbing for 'other_slot' in 'update_index' #23330

Merged

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Feb 24, 2022

Problem

prep for #23311

this is used by ancient append vecs. Broken out here because of all the files and tests it touches.

Summary of Changes

Fixes #

@jeffwashington jeffwashington marked this pull request as ready for review February 24, 2022 22:31
Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

lgtm

Comment on lines 1748 to +1751
pub fn upsert(
&self,
slot: Slot,
new_slot: Slot,
_old_slot: Slot,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add doc comments on what old_slot is? This can be on the next PR too, just wanted to call it out.

@codecov
Copy link

codecov bot commented Feb 25, 2022

Codecov Report

Merging #23330 (d9aecdd) into master (2207e49) will increase coverage by 0.0%.
The diff coverage is 82.3%.

@@           Coverage Diff           @@
##           master   #23330   +/-   ##
=======================================
  Coverage    81.3%    81.3%           
=======================================
  Files         572      572           
  Lines      155914   155929   +15     
=======================================
+ Hits       126882   126910   +28     
+ Misses      29032    29019   -13     

@jeffwashington jeffwashington merged commit 0ad4757 into solana-labs:master Feb 25, 2022
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Mar 4, 2022
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