near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.34k stars 632 forks source link

🔷 [Tracking issue] Resharding v2 #8992

Closed robin-near closed 3 months ago

robin-near commented 1 year ago

Goals

Background

The goal of the resharding project is to implement fast and robust resharding.

Why should NEAR One work on this

Currently, NEAR protocol has four shards. With more partners onboarding, we started seeing that some shards occasionally become over-crowded with respect to total state size and number of transactions. In addition, with state sync and stateless validation, validators will not need to track all shards and validator hardware requirements can be greatly reduced with smaller shard size. With future in-memory tries, it's also important to limit the size of individual shards.

What needs to be accomplished

The implementation should be robust enough so that we can later use it in Phase 2. The implementation should also allow for shard deletion in the future - meaning that any changes to the trie and the storage should support fast deletion.

Main use case

Once the project is completed we should be able to manually schedule a resharding of the largest shards in mainnet and testnet and the resharding should smoothly take place without any disruptions to the network.

Links to external documentations and discussions

Assumptions

Pre-requisites

Out of scope

Task list

mainnet release preparation

mainnet release

implementation

Operational

Code Quality improvements

Delayed until after the first rollout

Brainstorming COMPLETED

walnut-the-cat commented 1 year ago

Sep 14th

walnut-the-cat commented 1 year ago

[Note] The tracking issue will stay open throughout the project.

Sep 27th

upcoming October roadmap is as follows:

walnut-the-cat commented 1 year ago

Resharding v2 is near completion and planned to be released with 1.37.

Couple things that are open at this moment:

walnut-the-cat commented 11 months ago

December 18th status update

walnut-the-cat commented 10 months ago

Jan 16th Status update

wacban commented 9 months ago

Feb 7th update

walnut-the-cat commented 9 months ago

Feb 26th update

walnut-the-cat commented 8 months ago

March 11th update

wacban commented 3 months ago

The resharding v2 is completed.