NingLin-P

Results 50 issues of NingLin-P

Fixes #11911 This PR introduces a database-backed queue for the state pruning window, which only keeps a few blocks in memory and loads more blocks on demand, thus reducing the...

Signed-off-by: linning When there is no pending Readindex, MsgAppend will do the work of MsgHeartbeat, so when we had broadcasted MsgAppend, we can reset heartbeat_elapsed to reduce MsgHeartbeat. close #309

Feature

We use `progress.committed_index` to keep track of a peer's known commit index, but in some cases `progress.committed_index` may not accurate and `progress.matched >= progress.committed_index` may not be true, although `raft-rs`...

With current implement, a `MsgHeartbeat` do these things: - update( or correct ) a peer's status like commit index, StateRole, ect. - confirm quorum for quorum check or read index...

Request for Comment

## Bug Report ### What version of TiKV are you using? v5.1.0 ### What operating system and CPU are you using? Doesn't matter ### Steps to reproduce In a 2...

type/bug
sig/raft
severity/major
affects-6.0
affects-6.1
affects-6.2
affects-6.3

The first commit fixes the recent domain incompatible issue with gemini-3h. The issue is due to the change of the order of the domain inherent extrinsic, the change is used...

Currently, sync domain block from other operator nodes is not supported yet, the operator node needs to sync the consensus block and derive the domain block from it locally. After...

This PR resolves a TODO that stops including tx in the bundle if the operator can not pay for the bundle storage fee, this can prevent the operator from producing...

Currently, the weight of the `submit_fraud_proof` extrinsic only covers the handling part of the fraud proof (i.e. prune bad ER, slash submitter and revert head receipt number, etc) while the...

This PR implement #2570, include changes of: - Add transaction tag for fraud proof - For fraud proof that targets bad ER, for a given domain at most one fraud...