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

add disk bucket get_restart_file #33373

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Sep 22, 2023

Problem

working on speeding up startup

Summary of Changes

add disk bucket get_restart_file to load file on restart.
add disk bucket get_restartable_buckets to connect up disk bucket files.

Fixes #

@jeffwashington jeffwashington force-pushed the ag19_2_5_3 branch 2 times, most recently from d6550c7 to 492372e Compare September 22, 2023 15:31
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #33373 (64965c9) into master (d2464d9) will increase coverage by 0.0%.
The diff coverage is 99.6%.

@@           Coverage Diff            @@
##           master   #33373    +/-   ##
========================================
  Coverage    81.9%    81.9%            
========================================
  Files         797      797            
  Lines      216018   216262   +244     
========================================
+ Hits       177045   177246   +201     
- Misses      38973    39016    +43     

@jeffwashington jeffwashington marked this pull request as ready for review September 22, 2023 17:17
Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

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

lgtm

@jeffwashington jeffwashington merged commit fcddeb4 into solana-labs:master Sep 22, 2023
SwenSchaeferjohann pushed a commit to ananas-block/solana that referenced this pull request Sep 23, 2023
Switch confirmed_unrooted_slots from Vec<_> to HashSet<_> (solana-labs#33311)

The container is only used to check for inclusion of slots with
the .contains() method. This method is O(n) on a Vec<_> but O(1) on a
HashSet<_>.

add Restart structs for disk index (solana-labs#33361)

use bytemuck for disk bucket restart (solana-labs#33371)

disk bucket: init restart path (solana-labs#33375)

simple cleanup in bucket map (solana-labs#33376)

add disk bucket get_restart_file (solana-labs#33373)

* add disk bucket get_restart_file

* add get_restartable_buckets

pass RestartableBucket through disk index (solana-labs#33377)

data bucket holds RestartableBucket (solana-labs#33381)

Feature - better error codes for tx lamport check (solana-labs#33343)

Replaces `TransactionError::InstructionError(0, InstructionError::UnbalancedInstruction)` with `TransactionError::UnbalancedTransaction`.

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>

DiskIdx: reuse disk bucket file if possible (solana-labs#33379)

diskidx: stats for created vs reused (solana-labs#33385)

solana-program - altbn128: add g1 & g2 compression

still fixing tests for point of infinity

feat: proof compression syscall working

add rust test to ci

remove prints

added c test

added sycall pricing

fixed ci checks

refactored altbn128 and compression
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Sep 25, 2023
* add disk bucket get_restart_file

* add get_restartable_buckets
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