Andrew Fitzgerald
5448d0b1e8
Remove redundant clones ( #31685 )
...
* broadcast_stage remove redundant clone
* broadcast_fake_shreds_run remove redundant clone
* wallet remove redundant clone
* cluster_query remove redundant clone
* accounts remove redundant clones
2023-05-23 09:42:05 -07:00
Andrew Fitzgerald
02ac8a46d6
set_bank takes owned Arc<Bank> ( #31717 )
2023-05-23 09:41:27 -07:00
Lijun Wang
917f3d2586
Use unwrap_or_else for efficiency ( #31747 )
...
Use unwrap_or_else for efficiency.
2023-05-22 09:58:24 -07:00
steviez
a544553ac7
Remove redundant counter from ServeRepair ( #31713 )
...
The value reported by the removed counter is also reported as the
self_repair field in serve_repair-requests_received datapoint.
2023-05-18 16:05:58 -05:00
Tao Zhu
e84613b54c
update test for both feature gate status ( #31708 )
2023-05-18 12:37:58 -05:00
Tao Zhu
039991e780
update comment for clarification ( #31700 )
2023-05-18 12:37:09 -05:00
Tao Zhu
692e1f261a
disable qos adjustment logic when feature apply_cost_tracker_during_replay is activated ( #31671 )
...
* disable qos adjustment logic when feature apply_cost_tracker_during_replay is activated
2023-05-17 11:24:59 -05:00
Tyera
2cdb43ff1b
Eradicate zombie RPC threads ( #31688 )
...
* Ensure jsonrpc server has closed when joining rpc_service thread
* Use same exit bool as other services
* Remove redundant registered exit line
2023-05-17 03:09:44 +00:00
Andrew Fitzgerald
d40212ca74
Comment Fix: provides working bank ( #31683 )
...
Provides working bank
2023-05-16 15:33:41 -07:00
Trent Nelson
ad67fd5be5
validator: remove optional remote accounts hash consistency check ( #31279 )
2023-05-16 14:23:13 -06:00
Brennan
a9b19f5b14
Add replay invalidator scaffolding upstream ( #31567 )
...
* Add replay invalidator scaffolding upstream
2023-05-16 13:08:39 -07:00
Brooks
dd4cfe9924
Do not purge bank snapshots in AccountsBackgroundService ( #31647 )
2023-05-15 13:53:48 -04:00
Andrew Fitzgerald
694099bbe3
Remove unused debug ( #31618 )
2023-05-15 09:38:32 -07:00
Brooks
bac4d50761
Uses `_` instead of `-` for datapoint field names ( #31648 )
2023-05-15 12:02:43 -04:00
Andrew Fitzgerald
d2bd6c72aa
Keep signal_receiver in scope ( #31625 )
2023-05-15 08:56:57 -07:00
behzad nouri
5178d4d49b
adds quic tvu port to contact-info ( #31614 )
...
Working towards migrating turbine to QUIC.
2023-05-15 15:13:21 +00:00
Ashwin Sekar
3e8f5bad81
refactor: highest_cluster_confirmed_root -> highest_super_majority_root ( #31619 )
2023-05-14 00:42:03 -07:00
Ashwin Sekar
c85b057cc8
disambiguate the matches then mismatches case for ancestor samples ( #31617 )
2023-05-13 11:12:21 -07:00
Ashwin Sekar
ef75f1cb4e
Add ancestor hashes to state machine ( #31627 )
...
* Notify replay of pruned duplicate confirmed slots
* Ingest replay signal and run ancestor hashes for pruned
* Forward PDC to ancestor hashes and ingest pruned dumps from ancestor hashes service
* Add local-cluster test
2023-05-13 02:05:44 -07:00
Brooks
962650e88e
AccountsHashVerifier purges old bank snapshots ( #31519 )
2023-05-12 17:02:43 -04:00
Brooks
8e5e66fdb4
Revert "Revert "SnapshotPackagerService purges old bank snapshots ( #31511 )" ( #31524 )" ( #31558 )
...
This reverts commit 775639c058
.
2023-05-12 15:39:14 -04:00
behzad nouri
4e34abbf3d
specifies protocol in contact-info get-socket api ( #31602 )
2023-05-12 16:16:20 +00:00
Andrew Fitzgerald
2c869ef778
QoS refactor: Allow pre-filtering ( #31542 )
2023-05-12 08:53:22 -07:00
Jeff Washington (jwash)
3e543665c7
remove unused functions connecting hash calc and ancient append vec boundary ( #31575 )
...
remove coupling between hash calc and ancient append vec boundary
2023-05-11 13:30:44 -07:00
Jeff Washington (jwash)
122b05b9f5
pass include_slot_in_hash through hash calcs to allow rehashing if hash is not stored ( #31579 )
...
* pass include_slot_in_hash through hash calcs to allow rehashing
* tests use each include_slot_in_hash value
* move include_slot_in_hash
* typo
* reorder struct init
* spelling is hard
2023-05-11 13:23:29 -07:00
Tao Zhu
49f44f5ded
Refactor pass feature status to deserialized packet via packet meta ( #31549 )
...
Add a flag to packet, set its value by packet_deserializer when received by banking_stage with working_bank
2023-05-11 09:31:05 -05:00
Tyera
3f70ddb2c5
Add entry notification service for geyser ( #31290 )
...
* Move entry_notifier_interface
* Add EntryNotifierService
* Use descriptive struct in sender/receiver
* Optionally initialize EntryNotifierService in validator
* Plumb EntryNotfierSender into Tvu, blockstore_processor
* Plumb EntryNotfierSender into Tpu
* Only return one option when constructing EntryNotifierService
2023-05-10 17:20:51 -06:00
Ashwin Sekar
c900ef8290
refactor: combine SlotStateUpdate impls ( #31578 )
2023-05-10 15:12:39 -06:00
steviez
18a118b438
Condense banking_stage counters into existing datapoint ( #31564 )
...
Counters incur additional overhead in sending points to the MetricsAgent
over a crossbeam channel. Additionally, some of these counters would be
submitted by non-voting nodes which is just extra overhead and noise.
This change condenses several updates of a counter into a field of the
existing BankingStageStats metrics struct.
2023-05-10 15:44:42 -05:00
Tao Zhu
fb7ba97afc
refactor: move test and bench only code from main code to where they are needed ( #31550 )
...
* refactor: move test and bench only code to specific location
* remove inactive bench test
2023-05-09 16:39:23 -05:00
Brooks
3bb2e3b546
Purges incomplete snapshot dirs at startup ( #31555 )
2023-05-09 14:08:12 -04:00
steviez
4300d84c68
Remove counters from ReplayStage ( #31532 )
...
replay_stage-voted_empty_bank has been converted into a datapoint that
now includes slot number. replay_stage-replay_transactions has been
removed altogether as we can get similar information on a per-slot basis
from replay-slot-stats metric.
2023-05-09 11:44:02 -05:00
behzad nouri
6a4a0418a6
removes hard-coded QUIC_PORT_OFFSET from connection-cache ( #31541 )
...
New ContactInfo has api identifying QUIC vs UDP ports; no need to hard-code
port-offset deep in connection-cache.
2023-05-09 13:46:17 +00:00
Brooks
6e342ded42
clippy: Removes redundant async blocks ( #31526 )
2023-05-09 09:35:38 -04:00
behzad nouri
8e638b785a
removes feature gate code sending votes to tpu-vote-port ( #31529 )
2023-05-08 18:12:35 +00:00
Tao Zhu
1f91a90a53
Refactor remove unnecessary parameter ( #31520 )
...
Refactor: remove unnecessary parameter from DeserializedPacket constructor
2023-05-07 10:56:24 -05:00
Brooks
775639c058
Revert "SnapshotPackagerService purges old bank snapshots ( #31511 )" ( #31524 )
...
This reverts commit a6c39ded8e
.
2023-05-06 09:18:03 -04:00
Tao Zhu
b19cc03c9a
Refactor: remove test only public function, update tests ( #31518 )
2023-05-05 17:22:09 -05:00
Brooks
a6c39ded8e
SnapshotPackagerService purges old bank snapshots ( #31511 )
2023-05-05 17:22:48 -04:00
Brooks
c5e071c7fe
Upgrades nightly Rust to 2023-03-04 ( #31487 )
2023-05-05 08:28:23 -04:00
HaoranYi
0f4293914c
remove unnecessary-struct-initialization ( #31486 )
...
* remove unnecessary-struct-initialization
* more remove unnecessary-struct-initialization
---------
Co-authored-by: haoran <haoran.yi@solana.com>
2023-05-04 17:48:33 -05:00
Brooks
ef7470f50c
Removes needless borrows ( #31489 )
2023-05-04 18:09:17 +00:00
Andrew Fitzgerald
886aea21cb
Internal structs for ThreadAware AccountRead/WriteLocks ( #31431 )
2023-05-04 09:38:34 -07:00
Andrew Fitzgerald
18cd4311af
remove counters in hotpath ( #31398 )
2023-05-04 09:36:28 -07:00
Jeff Biseda
19319d5b70
Rationalize (Slot, Hash) in repair by removing SlotHash type ( #31470 )
2023-05-03 14:03:05 -07:00
Lijun Wang
7cf50e60fc
Fixed missing Root notifications via geyser plugin framework ( #31180 )
...
* Fixed missing Root notifications via geyser plugin framework
* Renamed a variable
* fmt issue
* Do not try the loop if no subscribers.
* Addressing some feedback -- passing parent roots from replay_stage to avoid race conditions
* clippy issue
* Address some reviewing findings
* Addressed some feedback from Carl
* fix a clippy issue
* Added comments on optimistically_confirmed_bank_tracker module to explain the workflow
* Addressed Trent's review
2023-05-03 18:50:00 +08:00
Xiang Zhu
0a2e897f16
Clean up the outdated SnapshotPackage snapshot_links field ( #31360 )
...
* Remove snapshot_links
* Change the function name from snapshot_dir to bank_snapshot_dir
* Format fix
* Fix test_concurrent_snapshot_packaging
* Fix clippy error
* Fix nits
* Fix nits 2nd try
* Use get_bank_snapshots_dir
* Use slot_dir
* Revert "Use get_bank_snapshots_dir" because get_bank_snapshots_dir is private to crate
This reverts commit 1ed9b3b2c8e84689a918beee7159f63c56500a96.
2023-05-01 11:24:59 -07:00
steviez
427ad7b5bd
Combine AccountsHashVerifier metrics ( #31420 )
...
It is more efficient to submit the metrics together, and there is no
reason for them to be separate.
2023-04-30 21:39:44 -04:00
Jeff Biseda
b5bb5c6da1
filter invalid repair requests by size ( #30951 )
2023-04-28 16:57:15 -07:00
Brennan
e79b84ea70
Rework tx sig verify batching ( #31355 )
...
* Rework tx sig verify batching to eliminate special casing and increase the packet limit for sigverify from 2k to 5k
2023-04-28 09:21:12 -07:00