Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(exex): commit notifications to WAL before sending to ExExes #11354

Merged
merged 38 commits into from
Oct 2, 2024
Merged
Changes from 2 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
ba0c655
feat(exex): commit notifications to WAL before sending to ExExes
shekhirin Sep 30, 2024
4d4e172
Merge remote-tracking branch 'origin/main' into alexey/exex-wal-commit
shekhirin Oct 1, 2024
806d133
report file path when reading fails
shekhirin Oct 1, 2024
c1fe123
add path to notification decode error
shekhirin Oct 1, 2024
989700b
revertme: use serde json again
shekhirin Oct 1, 2024
b311dd7
feat(trie): deserialize trie updates with serde as hex
shekhirin Oct 1, 2024
0444a48
Merge remote-tracking branch 'origin/alexey/trie-updates-serde' into …
shekhirin Oct 1, 2024
1d1f00f
increment next file id counter
shekhirin Oct 1, 2024
3da5cb3
add test
shekhirin Oct 1, 2024
4513124
Merge remote-tracking branch 'origin/alexey/exex-wal-storage-next-id'…
shekhirin Oct 1, 2024
9c3a2a4
use u32
shekhirin Oct 1, 2024
169235d
Merge remote-tracking branch 'origin/alexey/exex-wal-storage-next-id'…
shekhirin Oct 1, 2024
168a4a1
fix tracing targets
shekhirin Oct 1, 2024
bb08f5f
format with to string
shekhirin Oct 1, 2024
c62c64d
account for finalized header when finalizing the wal
shekhirin Oct 1, 2024
e028b70
feat(chain-state): notify about new safe/finalized only if modified
shekhirin Oct 1, 2024
54e57d3
Merge remote-tracking branch 'origin/alexey/chain-info-tracker-send-i…
shekhirin Oct 1, 2024
14ef5d4
do not crash when can't find canonical notification in WAL
shekhirin Oct 1, 2024
e3741f3
Revert "do not crash when can't find canonical notification in WAL"
shekhirin Oct 1, 2024
1ae103b
fix(exex): check exex head against node head to determine canonical
shekhirin Oct 2, 2024
3cfd0ba
Merge remote-tracking branch 'origin/alexey/exex-notifications-check-…
shekhirin Oct 2, 2024
71d2322
Merge remote-tracking branch 'origin/main' into alexey/exex-wal-commit
shekhirin Oct 2, 2024
f7c1be1
Revert "revertme: use serde json again"
shekhirin Oct 2, 2024
3b3e098
report notification id in not found error
shekhirin Oct 2, 2024
59c8da3
Merge remote-tracking branch 'origin/main' into alexey/exex-wal-commit
shekhirin Oct 2, 2024
0933f5e
Merge remote-tracking branch 'origin/main' into alexey/exex-wal-commit
shekhirin Oct 2, 2024
f2569dc
test that we commit to wal
shekhirin Oct 2, 2024
5eaaeb3
return instrument macro to remove notification
shekhirin Oct 2, 2024
6b191aa
no format_with pls
shekhirin Oct 2, 2024
35ac702
Revert "no format_with pls"
shekhirin Oct 2, 2024
cab49b9
explain format_with
shekhirin Oct 2, 2024
fbc4b43
remove unneeded log
shekhirin Oct 2, 2024
a271501
feat(exex): WAL metrics
shekhirin Oct 2, 2024
72f767e
Merge remote-tracking branch 'origin/alexey/exex-wal-metrics' into al…
shekhirin Oct 2, 2024
44e70e2
fix lowest/height metric
shekhirin Oct 2, 2024
cf19ae1
fix lowest/height metric
shekhirin Oct 2, 2024
9420e87
Merge remote-tracking branch 'origin/alexey/exex-wal-metrics' into al…
shekhirin Oct 2, 2024
743b0ac
Merge remote-tracking branch 'origin/main' into alexey/exex-wal-commit
shekhirin Oct 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/exex/exex/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ where
reverted_tip = ?notification.reverted_chain().map(|chain| chain.tip().number),
"Received new notification"
);
this.wal.commit(&notification)?;
this.push_notification(notification);
continue
}
Expand Down
Loading