Commit Graph

245 Commits

Author SHA1 Message Date
3e54d9415e feat(storage): use mdbx_txn_reset to time out transactions (#6924)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-03-03 19:59:00 +00:00
a79db0f839 fix(db): race condition in Tx cached handles (#6923) 2024-03-02 11:52:39 +00:00
d32a8efb1a Revert "feat(storage): use mdbx_txn_reset to time out transactions … (#6919) 2024-03-01 19:47:24 +00:00
5e2cac442f 0x/rm unused dep (#6899)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-01 11:34:31 +00:00
74dc0e36d3 feat(storage): use mdbx_txn_reset to time out transactions (#6850)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-02-29 20:44:56 +00:00
9468527aad chore: remove unused dependencies to speed up building time (#6882)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-02-29 15:10:20 +00:00
6b5b6f7a40 Breaking changes (#5191)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: joshieDo <ranriver@protonmail.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Thomas Coratger <thomas.coratger@gmail.com>
2024-02-29 12:37:28 +00:00
5475a12086 Db exclusive mode (#6755)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-02-28 11:23:14 +00:00
ac36fa96ec perf(db): cache db handles using OnceLock (#6750) 2024-02-26 13:46:13 +00:00
4fe0f27974 fix(ci): allow non_local_definitions on false positives (#6790) 2024-02-26 12:20:08 +00:00
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
9ca813aee2 chore: remove some unnecessary calls to unwrap/expect (#6727) 2024-02-22 16:36:08 +00:00
755ce9efc2 perf(metrics): cache handles for database transaction metrics (#6730) 2024-02-22 13:57:47 +00:00
ca98261d43 fix: BlockNumberAddress related doc and namings (#6732) 2024-02-22 10:25:22 +00:00
c8c422e278 chore: set test-fuzz to workspace dep, bump c-kzg (#6705) 2024-02-21 10:03:07 +00:00
9911e02cc7 feat: add debug! log on database commit times (#6693) 2024-02-20 13:49:52 +00:00
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
79f1fa3c10 fix(metrics): fix missing metrics by installing prometheus before creating db env (#6659) 2024-02-18 21:14:37 +00:00
0e166f0f32 perf(db): pre-populate metric handles hashmap on env init (#6573) 2024-02-13 01:59:52 +00:00
613b6f08a2 chore: use Table::TABLE in more places (#6563) 2024-02-12 14:53:16 +00:00
2a5efb2a99 refactor(db): unify table macros (#6552) 2024-02-12 13:48:01 +00:00
17eca361e8 chore: remove unused Default requirement in Table generics (#6551) 2024-02-12 12:23:28 +00:00
43b795163c perf(db): introduce environment-level cache for metric handles (#6550) 2024-02-12 12:13:57 +00:00
13947e509b chore: Bump revm to newest (#6357)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-06 22:59:10 +00:00
32460a183a chore: log long tx backtrace on a new line (#6419) 2024-02-05 19:57:20 +00:00
c7a4bc9f93 feat(db): propagate text error messages from mdbx (#6353) 2024-02-02 23:01:01 +00:00
55fae2ca9c Add Withdrawals struct (#6267) 2024-02-01 17:57:50 +00:00
01d3df30f7 small refactoring (#6321) 2024-02-01 14:30:31 +00:00
dd2c6ead39 chore(deps): remove unused deps (#6206) 2024-01-24 12:49:03 +01:00
247d87fd2e chore: rm unused build.rs vergen (#6198) 2024-01-24 01:31:38 +00:00
ede3b8ce55 feat(storage): make it possible to disable read tx timeout (#6181) 2024-01-23 16:16:44 +00:00
1e4d125616 feat(storage, blockchain-tree): disable backtrace on long read tx when it's safe (#6177) 2024-01-23 13:44:01 +00:00
a6f8e449f7 feat(storage, mdbx): transaction manager (#6126) 2024-01-23 12:24:56 +00:00
e2687c4525 chore: avoid .as_ref().to_vec() when Into<Vec<u8>> is available (#6071) 2024-01-15 10:21:54 +00:00
49106d5088 chore(db): skip serializing phantom data (#6070) 2024-01-15 08:43:50 +00:00
cea638108b fix: change vergen features to match foundry (#6047) 2024-01-12 22:20:32 +00:00
daf6eb6d45 chore(db): format backtrace (#6039) 2024-01-12 13:03:21 +00:00
ee199bb5db fmt: run nightly-2023-10-15 and remove semicolons (#6035) 2024-01-12 11:38:41 +00:00
56a3548915 chore: fix clippy warnings for windows (#6005) 2024-01-10 13:15:18 +00:00
573c73fd82 fix(storage): gate MDBX HSR with macro (#6000) 2024-01-10 10:48:40 +00:00
0588fa44c2 fix: use cfg attributes over macro (#5999) 2024-01-10 10:32:29 +00:00
0efbf893e3 fix(storage): disable MDBX HSR on Windows (#5991) 2024-01-09 21:17:04 +00:00
a1225be077 fix(bin): process metrics version mismatch (#5985) 2024-01-09 16:59:55 +00:00
6ad221fd28 feat(storage): downgrade tx open log to trace (#5984) 2024-01-09 14:51:34 +00:00
189cf490eb feat(storage): log tx opening location (#5973) 2024-01-08 19:01:17 +00:00
408d1c7e9e feat(storage): handle-slow-readers callback for MDBX (#5941) 2024-01-08 17:54:47 +00:00
92f33b071c add missing documentation for various crates (#5950) 2024-01-05 13:10:37 +00:00
b828867f8c lints: use rust-2018-idioms to eliminate #![allow(elided-lifetimes-in-paths)] (#5944) 2024-01-04 18:13:33 +00:00
9aa44093cf lints: move top-level lints to [workspace.lints] manifest table (#5935) 2024-01-04 13:38:02 +00:00
62d2cedff2 chore(storage): warning log about long read db transaction (#5929) 2024-01-03 11:24:24 +00:00