update: entry hash chain と session_head mutex を撤廃
- HashedEntry / EntryHash / compute_hash / build_chain 撤去、JSONL は 1 行 1 LogEntry - SessionOrigin.at_hash → at_turn_index (TurnEnd 由来) に置換 - Pod 側 SessionHead mutex を ArcSwap<SessionId> + AtomicUsize の SessionState に置換 - ensure_head_or_fork は store の entry count と writer の append tally で判定 - session-store から sha2 / hex 依存、pod から parking_lot 依存を削除
This commit is contained in:
@@ -10,7 +10,7 @@ use super::EXTRACT_DOMAIN;
|
||||
/// として 1 回ずつ書かれ、最新の 1 件が現行 pointer として有効になる。
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
|
||||
pub struct ExtractPointerPayload {
|
||||
/// 直近 extract が処理した最後の session-store HashedEntry の index。
|
||||
/// 直近 extract が処理した最後の session-store LogEntry の index。
|
||||
/// 次回の `source.range.start` はこの値 + 1。
|
||||
pub processed_through_entry: usize,
|
||||
/// 直近 extract 時点の `history.len()`。次回入力は
|
||||
|
||||
Reference in New Issue
Block a user