PruneCompetingChains only once after loading WAL records

オープン
#643 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

Start by tracing WAL loading and the calls to PruneCompetingChains during finalization; the issue does not name files or tests. Find the finalization with the highest sequence and assess whether pruning can happen once after all WAL records are loaded. Done means pruning runs once at that point and existing WAL recovery behavior is preserved.

索引モデルが issue の本文から書いたものです。

説明

this happens for each finalization in the WAL. maybe worth to open an issue to locate the finalization with the highest sequence and call it only once?

Originally posted by @yacovm in https://github.com/ava-labs/Simplex/pull/623#discussion_r4350658647

主要言語
Go
スター
22
フォーク
4
平均マージ
2日 4時間
マージ済み PR(30日)
43

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ava-labs/Simplex のほかの issue

ava-labs/Simplex の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。