d4192e3ac4
Accept only decimal digits in file names inside snapshot ( #21213 ) ( #21281 )
...
This also should make snapshot validation a bit faster.
(cherry picked from commit 9b1bf98aa2
)
Co-authored-by: Ivan Mironov <mironov.ivan@gmail.com >
2021-11-23 22:36:52 +00:00
04cc50126b
Bump bpf-tools to v1.20 ( #21361 )
2021-11-23 18:24:08 +00:00
27b2561650
Add BigTable query logs and counter (backport #21394 ) ( #21398 )
...
* Add BigTable query logs and counter (#21394 )
* Add LedgerStorage logs
* Add storage-bigtable metric
(cherry picked from commit f3f8d2e4f3
)
# Conflicts:
# storage-bigtable/Cargo.toml
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-11-23 01:17:17 +00:00
85302d6d17
Add timing metrics to bank creation and rewards calculation ( #21066 ) ( #21378 )
...
(cherry picked from commit cd6f931223
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-11-21 21:00:12 +00:00
42a67d30fc
spl-token: New program feature flag (backport #21354 ) ( #21376 )
...
* spl-token: New program feature flag (#21354 )
* spl-token: Add feature flag for new release
* Remove all spl token version declarations
(cherry picked from commit 02bc4e3fc1
)
# Conflicts:
# account-decoder/Cargo.toml
# accounts-cluster-bench/Cargo.toml
# accounts-cluster-bench/src/main.rs
# rpc/Cargo.toml
# rpc/src/rpc.rs
# runtime/src/accounts_index.rs
# runtime/src/bank.rs
# runtime/src/lib.rs
# sdk/src/feature_set.rs
# tokens/Cargo.toml
# tokens/src/spl_token.rs
# transaction-status/Cargo.toml
* Fix merge issues
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-11-21 16:00:58 +00:00
f3ea9bc995
Fix authority in bpf_loader_upgradeable::close_any ( #21344 ) ( #21353 )
...
(cherry picked from commit 1a7cefded7
)
Co-authored-by: Kirill Fomichev <fanatid@ya.ru >
2021-11-19 09:10:48 -08:00
b63617a3e1
Spit log data charge into two ( #21349 ) ( #21352 )
...
(cherry picked from commit e9c00d1e69
)
Co-authored-by: Jack May <jack@solana.com >
2021-11-18 23:58:44 +00:00
d1ca16e9f8
Add ledger tool to remove dead slot ( #20810 ) ( #20813 )
...
(cherry picked from commit b5f21d5e34
)
Co-authored-by: carllin <carl@solana.com >
2021-11-18 21:46:41 +00:00
0565fe3320
Charge for sol_log_data translates ( #21328 ) ( #21335 )
...
(cherry picked from commit 91fe1278f1
)
Co-authored-by: Jack May <jack@solana.com >
2021-11-18 20:27:50 +00:00
336ee01aae
Bump version to v1.8.6 ( #21329 )
2021-11-17 17:16:20 -07:00
76c5c94a8a
remove store_cached stall ( #21323 )
...
* Bump tokio
* remove store_cached stall
Co-authored-by: Tyera Eulberg <tyera@solana.com >
v1.8.5
2021-11-17 14:45:54 -06:00
c3b1906f1d
Bump tokio ( #21324 )
2021-11-17 11:08:40 -07:00
318d26f0ff
Reverts #21302 ( #21320 )
2021-11-17 10:31:07 +01:00
c53174dc56
Fixup processed docs ( #21316 ) ( #21317 )
...
(cherry picked from commit 6546c3cbae
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-11-17 07:11:48 +00:00
baa4c6eaf2
Bump solana_rbpf to version 0.2.13 ( #18068 ) ( #21302 )
...
* Moves syscall_registry into the rbpf Executable constructor.
* Adds the reject_unresolved_syscalls flag which is only set when deploying programs via the CLI.
(cherry picked from commit 8d5c04e257
)
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
2021-11-17 01:23:15 +00:00
064cce41f7
add --no-os-network-stats-reporting option (backport #21296 ) ( #21303 )
...
* add --no-os-network-stats-reporting option (#21296 )
(cherry picked from commit d5de0c8e12
)
# Conflicts:
# core/src/system_monitor_service.rs
# ledger-tool/src/main.rs
# validator/src/main.rs
* resolve merge conflicts
Co-authored-by: Jeff Biseda <jbiseda@gmail.com >
2021-11-16 23:00:54 +00:00
d291bcf26e
Remove feature switch handling for checking vote init ( #20557 ) ( #20563 )
...
(cherry picked from commit db9336c99e
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-11-16 21:10:27 +00:00
40c86a0605
Fix BPF parameter alignment to work regardless of target ABI ( #21271 ) ( #21299 )
...
(cherry picked from commit 7e600bd451
)
Co-authored-by: Ben Newhouse <newhouseb@gmail.com >
2021-11-16 21:06:42 +00:00
80c3591391
Bump version to 1.8.5 ( #21295 )
2021-11-16 11:58:57 -07:00
741f9ea57f
update config by testnet ( #20699 ) ( #20729 )
...
(cherry picked from commit e225ed7ab0
)
Co-authored-by: Tao Zhu <82401714+taozhu-chicago@users.noreply.github.com >
2021-11-16 17:40:06 +00:00
0e6b476cbf
More set_root metrics (backport #21286 ) ( #21290 )
...
* More set_root metrics (#21286 )
(cherry picked from commit 398af132a5
)
# Conflicts:
# core/src/replay_stage.rs
* Fix conflict
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
v1.8.4
2021-11-16 02:29:33 +00:00
8bfba571f2
Make cargo-build-bpf clean up after failed installation of bpf-tools ( #21143 ) ( #21157 )
...
(cherry picked from commit 55d19e61da
)
Co-authored-by: Dmitri Makarov <dmakarov@users.noreply.github.com >
2021-11-15 23:45:15 +00:00
1a0eabe340
add new macro: pubkey!
(backport #21245 ) ( #21288 )
2021-11-15 13:42:30 -08:00
a05c08e711
Bump bpf-tools to v1.19 ( #21256 ) ( #21264 )
...
Toolchain upgrade to rust 1.56.0 and clang 13.0.
(cherry picked from commit 3f4f05865d
)
Co-authored-by: Dmitri Makarov <dmakarov@users.noreply.github.com >
2021-11-15 20:59:58 +00:00
6a6dd86262
throttle store_cached when cache size is too large ( #21188 ) ( #21279 )
...
* throttle store_cached when cache size is too large
* reduce max delay
* 100ms max
* 10ms max delay
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-11-15 19:57:27 +00:00
5d6b52f9af
docs: Replaces "is_rooted" with "is_connected" ( #20762 ) ( #21283 )
...
(cherry picked from commit 119549403d
)
Co-authored-by: Arthur Burkart <arthur@presynce.com >
2021-11-15 10:26:55 -08:00
8072635967
Add validator options to change priority of snapshot packager and RPC threads (v1.8) ( #21020 )
...
* Add function for changing thread's nice value
Linux only.
* Add validator option to change niceness of snapshot packager thread
* Add validator option to change niceness of RPC server threads
Fixes https://github.com/solana-labs/solana/issues/14556
* Run `./scripts/cargo-for-all-lock-files.sh tree`
2021-11-15 09:50:45 -08:00
a86fdebb3b
Bump timeout on test_rpc_subscriptions ( #21259 ) ( #21262 )
...
* Extend timeout
* Add log
(cherry picked from commit 156b8ead42
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-11-13 14:23:48 +00:00
31b3ada6d9
Update various terms to "known" (backport #21257 ) ( #21261 )
...
* Update various terms to "known" (#21257 )
* Update snapshot bootstrap terminology
* Update only known rpc terminology
* Update replica-node
(cherry picked from commit ae3777cadb
)
# Conflicts:
# replica-node/src/replica_util.rs
# validator/src/bootstrap.rs
* Fix conflicts
* Remove dangling file
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-11-13 07:12:54 +00:00
2992a7154a
Refactor vote state to remove double negative (backport #21244 ) ( #21250 )
...
* Refactor vote state to remove double negative (#21244 )
(cherry picked from commit ef29d2d172
)
# Conflicts:
# runtime/src/stakes.rs
* resolve conflicts
Co-authored-by: Justin Starry <justin@solana.com >
2021-11-13 01:27:23 +00:00
21cd423e67
Rename "trusted" to "known" in validators/
(backport #21197 ) ( #21255 )
...
* Rename "trusted" to "known" in `validators/` (#21197 )
* Replaced trusted with known validator
* Format Convention
(cherry picked from commit b0ca335463
)
# Conflicts:
# core/src/accounts_hash_verifier.rs
# core/src/serve_repair.rs
# rpc/src/rpc_service.rs
# validator/src/bootstrap.rs
* Fix conflicts
Co-authored-by: Michael Keleti <16996410+mkeleti@users.noreply.github.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-11-12 21:36:53 +00:00
09ef4d12f7
Bump version to 1.8.4 ( #21232 ) ( #21235 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-11-10 15:20:41 -07:00
de94c4e867
Add set_root
bank drop logging ( #21144 ) ( #21194 )
...
(cherry picked from commit 706b60b5c8
)
Co-authored-by: carllin <carl@solana.com >
v1.8.3
2021-11-10 11:58:28 -07:00
74684a107c
Revert "Bump version to 1.8.4 ( #21232 )"
...
This reverts commit 19b3ba0442
.
2021-11-10 11:19:39 -07:00
19b3ba0442
Bump version to 1.8.4 ( #21232 )
2021-11-10 16:38:44 +01:00
784c745efa
Disable JIT compiler on unsupported platforms ( #21215 ) ( #21218 )
...
(cherry picked from commit b4d09388aa
)
Co-authored-by: Kirill Fomichev <fanatid@ya.ru >
2021-11-09 13:29:49 +00:00
a7b3436b1e
report pubsub stats every 2s (backport #21192 ) ( #21196 )
...
* report pubsub stats every 2s (#21192 )
(cherry picked from commit 7659a2edc2
)
* remove use of Duration::MAX
Co-authored-by: Jeff Biseda <jbiseda@gmail.com >
2021-11-06 15:22:07 +00:00
89b2a3d0ae
Refactor RentDebits
to use hashmap instead of vec (v1.8 backport) ( #21176 )
...
* Refactor `RentDebits` to use hashmap instead of vec (v1.8 backport)
* Fix rent debits test (#21177 )
2021-11-05 08:52:14 +00:00
56fc58a2b5
Simplify replay vote tracking by using packet metadata (backport #21112 ) ( #21149 )
...
* Simplify replay vote tracking by using packet metadata (#21112 )
(cherry picked from commit 140a5f633d
)
# Conflicts:
# core/src/banking_stage.rs
# ledger-tool/src/main.rs
# rpc/src/rpc.rs
# runtime/src/bank.rs
# runtime/src/bank_utils.rs
# runtime/src/stakes.rs
# sdk/src/transaction/sanitized.rs
* resolve conflicts
Co-authored-by: Justin Starry <justin@solana.com >
2021-11-05 00:16:34 +00:00
53e0c9710e
Fix typo in bankless-leader.md ( #21152 ) ( #21160 )
...
Reseting -> Resetting
(cherry picked from commit ae207b7dbb
)
Co-authored-by: Ikko Ashimine <eltociear@gmail.com >
2021-11-03 23:16:43 +00:00
c14864a608
Add accounts stats for space amplification ( #21151 )
2021-11-03 16:41:29 +01:00
780302af56
Add set_root timing metrics ( #21119 ) ( #21135 )
...
(cherry picked from commit 1e5212e60d
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-11-02 20:17:04 +00:00
90557564c3
Accountsdb plugin postgres improvement ( #21034 ) ( #21096 )
...
Summary of Changes
Added the reference postgresql.conf
Prepare slot update statement to reduce overhead in updating slot
Support custom connection string
Allow the plugin to panic on replication issues to ensure consistency
2021-11-02 01:07:21 -07:00
6d2fd078be
Update deprecated variant in RpcClient doctests ( #21121 ) ( #21131 )
...
(cherry picked from commit 96e5342292
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-11-01 23:48:30 -06:00
4a874e9ba1
Fixup filter deprecated since ( #21123 ) ( #21128 )
...
(cherry picked from commit 1b47f7f2cd
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-11-02 04:23:32 +00:00
22510678b4
docs: Update language around immutable programs ( #21116 ) ( #21118 )
...
(cherry picked from commit ec86ff8fb3
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-11-01 21:01:27 +00:00
69b973a3a6
Parallel notifications in RPC PubSub (backport #20543 ) ( #21092 )
...
* Parallel notifications in RPC PubSub (#20543 )
* generate rpc notifications in parallel
* Use multithreaded runtime for pubsub
* add metric for time since creation of rpc notification to queue
* measure notification entry processing
* fix: add n_threads config argument
* configure rayon thread pool for rpc notifications
* add config option for pubsub notification threads
* rename metric to created_to_queue_time_us
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* rename metric to notification_entry_processing_time_us
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* use value_of for rpc_pubsub_notification_threads parsing
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* rename threads to sol-sub-notif-N
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* fix rpc tests for TimestampedNotificationEntry
* rustfmt
* use rayon thread limit for rpc
Co-authored-by: Pavel Strakhov <p.strakhov@iconic.vc >
Co-authored-by: Alexander Polakov <a.polakov@zubr.io >
Co-authored-by: Nikita Podoliako <bananaelecitrus@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
(cherry picked from commit 9fabff5129
)
# Conflicts:
# Cargo.lock
# rpc/Cargo.toml
* Fix conflicts
Co-authored-by: Pavel Strakhov <ri@idzaaus.org >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-11-01 20:19:51 +00:00
cc7ed71cb7
Fix serum-dex downstream build ( #21115 )
2021-11-01 17:54:22 +00:00
b6fe051d24
Document next_account_info(s) ( #21076 ) ( #21080 )
...
(cherry picked from commit 62c8fb4792
)
Co-authored-by: Brian Anderson <andersrb@gmail.com >
2021-10-29 22:22:09 +00:00
506d39ea82
Add missing websocket methods to rust RPC PubSub client (backport #21065 ) ( #21073 )
...
* Add missing websocket methods to rust RPC PubSub client (#21065 )
- Added accountSubscribe, programSubscribe, slotSubscribe and rootSubscribe to rust RpcClient
- Removed duplication on cleanup threads
- Moved RPCVote from rpc/ to client/rpc_response
(cherry picked from commit a0f9e0e8ee
)
# Conflicts:
# Cargo.lock
# client-test/Cargo.toml
# core/tests/client.rs
* Fix conflicts
* Make test result not depend on TestValidator setup
Co-authored-by: Manuel Gil <manugildev@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-10-29 21:46:59 +00:00