Skip to main content

Module fresh

Module fresh 

Source
Expand description

Fresh replication (Section 6.1).

When a node accepts a newly written record with valid PoP:

  1. Store locally (already done by chunk handler).
  2. Record the key in PaidForList(self) and send PaidNotify to every peer in PaidCloseGroup(K) — immediately, never behind back-pressure.
  3. Send fresh offers to CLOSE_GROUP_SIZE nearest peers (excluding self), bounded by the pending-offer permits so a write burst cannot pile up chunk-sized buffers.

Structs§

FreshWriteEvent
A newly-stored chunk that needs fresh replication.