solana/runtime/src
Lijun Wang f14365f4b4
Accountsdb plugin postgres -- bulk insertion at startup (#20763)
Use bulk insertion to Postgres at startup to reduce time taken for initial snapshot restore for postgres plugin. Avoid duplicate writes of accounts at startup. Doing account plugin notification and indexing in parallel.

Improved error handling for postgres plugin to show the real db issues for debug purpose
Added more metrics for postgres plugin.
Refactored plugin centric code out to a sub module from accounts_db and added unit tests
2021-10-24 12:43:33 -07:00
..
accounts_db Accountsdb plugin postgres -- bulk insertion at startup (#20763) 2021-10-24 12:43:33 -07:00
serde_snapshot add filler accounts to bloat validator and predict failure (#20491) 2021-10-11 12:46:27 -05:00
accounts.rs Divorce the runtime from FeeCalculator (#20737) 2021-10-22 14:32:40 -07:00
accounts_background_service.rs hash calc uses all threads during startup (#20735) 2021-10-15 17:41:23 -05:00
accounts_cache.rs Accountsdb replication installment 2 (#19325) 2021-09-01 14:10:16 -07:00
accounts_db.rs Accountsdb plugin postgres -- bulk insertion at startup (#20763) 2021-10-24 12:43:33 -07:00
accounts_hash.rs hash calc: sort time is redundantly counted as part of 'total time' (#20791) 2021-10-19 15:52:43 -05:00
accounts_index.rs clean_accounts calls AcctIdx: get_many (#20715) 2021-10-19 15:54:06 -05:00
accounts_index_storage.rs AcctIdx: cleanup bg threads (#20731) 2021-10-15 16:15:11 -05:00
accounts_update_notifier_interface.rs Accountsdb plugin postgres -- bulk insertion at startup (#20763) 2021-10-24 12:43:33 -07:00
ancestors.rs
append_vec.rs Upgrade to Rust 1.55.0 2021-10-06 17:48:58 -07:00
bank.rs Divorce the runtime from FeeCalculator (#20737) 2021-10-22 14:32:40 -07:00
bank_client.rs Divorce the runtime from FeeCalculator (#20737) 2021-10-22 14:32:40 -07:00
bank_forks.rs
bank_utils.rs Store versioned transactions in the ledger, disabled by default (#19139) 2021-08-17 15:17:56 -07:00
block_cost_limits.rs update config by testnet (#20699) 2021-10-15 15:32:46 +00:00
blockhash_queue.rs Divorce the runtime from FeeCalculator (#20737) 2021-10-22 14:32:40 -07:00
bloom.rs
bucket_map_holder.rs AcctIdx: cleanup bg threads (#20731) 2021-10-15 16:15:11 -05:00
bucket_map_holder_stats.rs AcctIdx: separate account index by startup and !startup (#20711) 2021-10-15 13:04:32 -05:00
builtins.rs Refactor: Remove program_id from process_instruction() (#20540) 2021-10-10 22:29:18 +02:00
cache_hash_data.rs AcctIdx: support 2^24 bins (#20739) 2021-10-18 14:05:16 -05:00
cache_hash_data_stats.rs cache account hash info (#19426) 2021-09-13 20:39:26 -05:00
commitment.rs
contains.rs
cost_model.rs - make cost_tracker a member of bank, remove shared instance from TPU; (#20627) 2021-10-19 14:37:33 -05:00
cost_tracker.rs - make cost_tracker a member of bank, remove shared instance from TPU; (#20627) 2021-10-19 14:37:33 -05:00
cost_tracker_stats.rs - move cost tracker into bank, so each bank has its own cost tracker; (#20527) 2021-10-12 08:51:33 -05:00
epoch_stakes.rs implements copy-on-write for vote-accounts (#19362) 2021-08-30 15:54:01 +00:00
execute_cost_table.rs fix unstable test (#20645) 2021-10-13 11:43:18 -05:00
genesis_utils.rs
hardened_unpack.rs change untar to use unpack instead of unpack_in (#19216) 2021-08-18 15:49:02 -05:00
in_mem_accounts_index.rs AcctIdx: cleanup bg threads (#20731) 2021-10-15 16:15:11 -05:00
inline_spl_token_v2_0.rs
instruction_recorder.rs Store versioned transactions in the ledger, disabled by default (#19139) 2021-08-17 15:17:56 -07:00
lib.rs - move cost tracker into bank, so each bank has its own cost tracker; (#20527) 2021-10-12 08:51:33 -05:00
loader_utils.rs
log_collector.rs
message_processor.rs Divorce the runtime from FeeCalculator (#20737) 2021-10-22 14:32:40 -07:00
neon_evm_program.rs
non_circulating_supply.rs runtime: Add foundation stake pool withdraw authority (#20797) 2021-10-19 21:49:21 +00:00
pubkey_bins.rs AcctIdx: support 2^24 bins (#20739) 2021-10-18 14:05:16 -05:00
read_only_accounts_cache.rs
rent_collector.rs add filler accounts to bloat validator and predict failure (#20491) 2021-10-11 12:46:27 -05:00
secondary_index.rs
serde_snapshot.rs Accountsdb plugin postgres -- bulk insertion at startup (#20763) 2021-10-24 12:43:33 -07:00
shared_buffer_reader.rs
snapshot_archive_info.rs
snapshot_config.rs Call `Bank::update_accounts_hash()` before taking bank snapshot (#19765) 2021-09-13 08:27:50 -05:00
snapshot_hash.rs SnapshotPackagerService pushes incremental snapshot hashes to CRDS (#20442) 2021-10-08 15:14:56 -05:00
snapshot_package.rs Make background services aware of incremental snapshots (#19401) 2021-08-31 18:33:27 -05:00
snapshot_utils.rs Divorce the runtime from FeeCalculator (#20737) 2021-10-22 14:32:40 -07:00
sorted_storages.rs
stake_weighted_timestamp.rs
stakes.rs Remove feature switch handling for checking vote init (#20557) 2021-10-08 23:35:26 -04:00
status_cache.rs
system_instruction_processor.rs Divorce the runtime from FeeCalculator (#20737) 2021-10-22 14:32:40 -07:00
transaction_batch.rs Store versioned transactions in the ledger, disabled by default (#19139) 2021-08-17 15:17:56 -07:00
vote_account.rs Optimize stakes cache and rewards at epoch boundaries (#20432) 2021-10-06 00:53:26 -04:00
vote_sender_types.rs
waitable_condvar.rs WaitableCondVar supports notify_one (#20013) 2021-09-20 09:57:57 -05:00