mergify[bot]
c9da25836a
Upgrade to Rust v1.49.0 (bp #14810 ) ( #14811 )
...
* Upgrade to Rust v1.49.0
(cherry picked from commit cbffab7850
)
# Conflicts:
# core/src/crds_value.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-24 04:42:09 +00:00
mergify[bot]
dfbe38b859
Add solana-test-validator --warp-slot argument (bp #14785 ) ( #14796 )
...
* Add convenience function to create a snapshot archive out of any Bank
(cherry picked from commit dd5a2ef05f
)
* Add solana-test-validator --warp-slot argument
(cherry picked from commit bf1943e489
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-23 06:38:16 +00:00
mergify[bot]
e127631f8d
Add ability to clone accounts from an RPC endpoint ( #14784 )
...
(cherry picked from commit cbb9ac19b9
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-22 22:47:29 +00:00
mergify[bot]
c49a8cb67c
Rpc: Add custom error for BigTable data not found ( #14762 ) ( #14765 )
...
* Expose not-found bigtable error
* Add custom rpc error for bigtable data not found
* Return custom rpc error when bigtable block is not found
* Generalize long-term storage
(cherry picked from commit 71e9958e06
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-22 05:56:47 +00:00
mergify[bot]
c8f7719c9e
fixes test_filter_current flakiness (bp #14749 ) ( #14761 )
...
* fixes test_filter_current flakiness (#14749 )
(cherry picked from commit e4da6761a7
)
# Conflicts:
# core/src/crds_value.rs
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-22 01:24:10 +00:00
mergify[bot]
239dc9b0b7
rewrites turbine retransmit peers computation ( #14584 ) ( #14742 )
...
(cherry picked from commit b5fd0ed859
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-21 14:25:46 +00:00
Jack May
d72c90e475
Bump version to v1.5.5 ( #14700 )
2021-01-20 20:26:16 +00:00
mergify[bot]
ca262fdeb9
Configure Bigtable's timeout, enabling by default ( #14657 ) ( #14669 )
...
* Configure bigtable's timeout when read-only
* Review comments
* Apply nits (thanks!)
Co-authored-by: Michael Vines <mvines@gmail.com >
* Timeout in the streamed decoding as well
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit dcaa025822
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-19 15:14:59 +00:00
mergify[bot]
e5d36fcfb3
feature gates turbine retransmit peers patch ( #14631 ) ( #14659 )
...
(cherry picked from commit c6ae0667e6
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-19 05:38:26 +00:00
mergify[bot]
061965e291
Rename RpcNodeUnhealthy error to NodeUnhealthy, generalize getHealth
RPC error object for the future ( #14656 )
...
(cherry picked from commit 5d9dc609b1
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-19 05:24:29 +00:00
mergify[bot]
e56681a2f6
Make Bigtable::get_confirmed_blocks inclusive of requested start_slot and end_slot ( #14651 ) ( #14655 )
...
* Fix off-by-one error
* Filter out blocks greater than end slot
(cherry picked from commit cbf8ef7480
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-19 03:42:59 +00:00
mergify[bot]
8cf23903ce
Fix the occasional stuck RPC request (bp #14628 ) ( #14638 )
...
* WIP fix the occasional stuck RPC request
(cherry picked from commit 5cf9094bb9
)
* Clean up and add comment
(cherry picked from commit 8d4ab1bab1
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-18 19:57:28 +00:00
mergify[bot]
7ac2aae730
More generic accounts purge functions ( #14595 ) ( #14640 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit 5f14f45282
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-18 05:53:40 +00:00
mergify[bot]
a04375e204
Add getSnapshotSlot
RPC method ( #14632 )
...
(cherry picked from commit 4003f86f04
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-16 20:51:33 +00:00
Michael Vines
7b19d26a6e
Add getHealth
RPC method
2021-01-16 10:51:54 -08:00
Michael Vines
3c3a3f0b50
Improve solana-test-validator output
...
(cherry picked from commit 1c2ae15b1d
)
2021-01-16 10:14:43 -08:00
mergify[bot]
3d8cadebc0
Use optimistic confirmation in getSignatureStatuses, and various downstream client methods ( #14430 ) ( #14611 )
...
* Add optimistically_confirmed field to TransactionStatus
* Update docs
* Convert new field to confirmation_status
* Update docs to confirmationStatus
* Update variants
* Update docs
* Just Confirmed
(cherry picked from commit 9a89689ad3
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-15 17:25:04 +00:00
mergify[bot]
bdfffd0151
Add load/execute/store timings ( #14561 ) ( #14591 )
...
(cherry picked from commit 907f518f6d
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-14 23:48:36 +00:00
Trent Nelson
1b02ec4f6e
Bump version to v1.5.4
2021-01-14 04:40:25 +00:00
mergify[bot]
aae51925c1
patches bug in turbine's neighbors computation ( #14565 ) ( #14569 )
...
Removing local node's index early from the set here:
https://github.com/solana-labs/solana/blob/e1b59ded4/core/src/retransmit_stage.rs#L346
distorts the order of nodes depending on which node is computing the
turbine fan-out tree, and results in incorrect neighbors computation.
(cherry picked from commit cfcca1cd3c
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-13 23:52:14 +00:00
mergify[bot]
00626fbf4c
Add --rpc-threads argument ( #14568 )
...
(cherry picked from commit 11daaadc93
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-13 22:52:15 +00:00
mergify[bot]
14ffc05fd4
Use leader_forward_count for tx retries too ( #14547 ) ( #14564 )
...
(cherry picked from commit e1b59ded4b
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-13 19:30:55 +00:00
mergify[bot]
0e3e3a03cc
Cache account stores, flush from AccountsBackgroundService ( #13140 ) ( #14542 )
...
(cherry picked from commit 6dfad0652f
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-12 06:12:18 +00:00
mergify[bot]
4440a8d9fa
Update timestamp max allowable drift to 50% of PoH ( #14531 ) ( #14539 )
...
* Repurpose warp-timestamp feature for general bump
* Change max_allowable_drift to 50%
* Fill in PR#
* Fix rpc test setup
(cherry picked from commit b0e6e29527
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-12 02:03:41 +00:00
Michael Vines
f46ad1b7b7
Avoid tmp snapshot backlog in SnapshotPackagerService under high load ( #14516 )
2021-01-11 17:32:58 -08:00
mergify[bot]
484bd48b35
Various snapshot-related code clean up (bp #14487 ) ( #14513 )
...
* Create account paths once
(cherry picked from commit fe0ba4a429
)
* Replace incorrect symlink_dir usage with symlink_file
(cherry picked from commit f2a7f561a0
)
* Reduce TempDir exposure
(cherry picked from commit 9f70f7dc3e
)
* Rename AccountsPackage::root to AccountsPackage::slot
(cherry picked from commit 141e6706e6
)
* Rename CompressionType to ArchiveFormat
(cherry picked from commit 7be6770808
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-09 18:29:09 +00:00
Michael Vines
ec15ea079f
Bump version to 1.5.3
2021-01-08 16:19:27 -08:00
mergify[bot]
4b5a05bf38
limits number of crds values associated with a pubkey (bp #14467 ) ( #14490 )
...
* limits number of crds values associated with a pubkey (#14467 )
(cherry picked from commit 766195dded
)
* updates smallvec
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-08 21:52:40 +00:00
Tyera Eulberg
49aca9ecd8
Add fixed tick rate adjustment ( #14447 ) ( #14464 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-06 21:44:06 +00:00
mergify[bot]
c455d1b1c5
Enable program-id account index for supply calculations ( #14444 ) ( #14456 )
...
* Enable program-id account index for supply calculations
* Fixup comments
(cherry picked from commit ce1766d798
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-06 04:04:44 +00:00
Michael Vines
97665b977e
Bump version to v1.5.2
2021-01-04 06:44:52 +00:00
mergify[bot]
f6de92c346
Add secondary indexes ( #14212 ) ( #14382 )
...
(cherry picked from commit 5affd8aa72
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-01 07:42:47 +00:00
mergify[bot]
46f9822d62
Only initialize BigTable upload service when requested ( #14380 )
...
(cherry picked from commit 4a3d217839
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-01 03:06:34 +00:00
mergify[bot]
3582607aa0
solana-test-validator: bind RPC and faucet to 0.0.0.0 (bp #14369 ) ( #14370 )
...
* Minor help improvements
(cherry picked from commit 04bf5ce830
)
* Bind RPC and faucet to 0.0.0.0
(cherry picked from commit 0b23abd479
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-31 09:10:07 +00:00
Michael Vines
ffd6f3e6bf
Revert "Upgrade in-tree tokio 0.2 usage to tokio 0.3 ( #14326 )"
...
This reverts commit 6c5be574c8
.
2020-12-30 22:25:23 -08:00
mergify[bot]
3b047e5b99
Port ip-echo-server to tokio 0.3 (bp #14345 ) ( #14350 )
...
* Port ip-echo-server to tokio 0.3
(cherry picked from commit fb6c660cfd
)
# Conflicts:
# net-utils/Cargo.toml
* Update Cargo.toml
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-30 18:55:24 +00:00
mergify[bot]
b5335edb35
Add experimental knob for tuning PoH pinned CPU core (bp #14330 ) ( #14341 )
...
* core: Update stale error message
(cherry picked from commit 82f61c0c4a
)
* validator: Add experimental flag to select PoH pinned core
(cherry picked from commit fe667db910
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-30 03:33:39 +00:00
mergify[bot]
abee1e83eb
Add poh speed check and tick speed calibration ( #14292 ) ( #14328 )
...
(cherry picked from commit 2074e407cd
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-29 19:40:49 +00:00
mergify[bot]
6c5be574c8
Upgrade in-tree tokio 0.2 usage to tokio 0.3 ( #14326 )
...
(cherry picked from commit 444ed768dc
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-29 19:03:18 +00:00
mergify[bot]
c1f993d2fc
Retry durable-nonce transactions ( #14308 ) ( #14325 )
...
* Retry durable-nonce transactions
* Add metric to track durable-nonce txs in queue
* Populate send-tx-service initial addresses with tpu_address if empty (primarily for testing)
* Reinstate last_valid_slot check for durable-nonce txs; use arbitrary future slot
(cherry picked from commit 3f10fb993b
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-29 18:03:04 +00:00
Michael Vines
d1adc2a446
Persist gossip contact info
...
(cherry picked from commit 9ddd6f08e8
)
2020-12-27 22:09:00 -08:00
Michael Vines
02da7dfedf
Bump version to v1.5.1
2020-12-27 21:57:43 -08:00
mergify[bot]
eb0fd3625a
Fix subtraction overflow in metrics ( #14290 ) ( #14296 )
...
(cherry picked from commit c693ffaa08
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-28 02:34:58 +00:00
mergify[bot]
1c91376f78
obtains staked-nodes from the root-bank ( #14257 ) ( #14293 )
...
... as opposed to the working bank
(cherry picked from commit 49019c6613
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-27 14:49:29 +00:00
mergify[bot]
10067ad07b
indexes votes in crds table ( #14272 ) ( #14294 )
...
(cherry picked from commit 2fd38d9912
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-27 14:49:23 +00:00
mergify[bot]
52ffb9a64a
Add accounts shrink paths (bp #14238 ) ( #14270 )
...
* Add shrink paths (#14238 )
(cherry picked from commit baa9602411
)
* Ignore long/hanging test (#14261 )
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-23 08:03:33 +00:00
Trent Nelson
198ed407b7
vote: Add helper for creating current-versioned states
2020-12-23 06:17:59 +00:00
mergify[bot]
192cca8f98
validator: Multiple --entrypoint support (bp #14256 ) ( #14264 )
...
* Update entrypoint contact info even when shred version adoption is not requested
(cherry picked from commit 3373082ffa
)
* Multiple entrypoint support
(cherry picked from commit ace360ade2
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-23 04:15:44 +00:00
mergify[bot]
6dd3c7c2dd
removes &Arc<Self> receivers ( #14234 ) ( #14262 )
...
(cherry picked from commit a14cfd660a
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-23 02:11:08 +00:00
mergify[bot]
c53e8ee3ad
improves performance in replay-stage ( #14217 ) ( #14233 )
...
bank::vote_accounts returns a hash-map which is slow to iterate, but all uses
only require an iterator:
https://github.com/solana-labs/solana/blob/b3dc98856/runtime/src/bank.rs#L4300-L4306
Similarly, calculate_stake_weighted_timestamp takes a hash-map whereas it only
requires an iterator:
https://github.com/solana-labs/solana/blob/b3dc98856/sdk/src/stake_weighted_timestamp.rs#L21-L28
(cherry picked from commit 7b08cb1f0d
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-21 21:23:35 +00:00