Commit Graph

128 Commits

Author SHA1 Message Date
Delweng
f684dd4c4c chore(clippy): enable if_then_some_else_none lint (#11679)
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-14 15:45:26 +00:00
Alexey Shekhirin
b537672886 chore(db): capture tx opening backtrace in debug mode (#11477) 2024-10-04 12:10:32 +00:00
DaniPopes
50265b15db chore: remove generics from Decode and Decompress (#11295) 2024-09-27 21:49:49 +00:00
DaniPopes
bf18fd927c perf: improve IntegerList API to avoid allocations (#11292) 2024-09-27 16:46:33 +00:00
Håvard Anda Estensen
80c1159cb8 storage: replace reth-primitive imports (#10981)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-18 16:14:53 +00:00
nk_ysg
c258c1547e feat(db): move reth-storage-api::ClientVersion and StoredBlockWithdrawals to reth-db-models (#10763) 2024-09-09 13:53:45 +00:00
Thomas Coratger
986e402fe6 clippy: add option_as_ref_cloned clippy lint (#10528)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 08:33:05 +00:00
joshieDo
d0b241c0c2 chore: move IntegerList to reth-primitives-traits (#8948) 2024-06-19 14:13:31 +00:00
joshieDo
fc770423b3 fix(ci): add missing const fn (#8822) 2024-06-14 10:07:39 +00:00
Matthias Seitz
de46a46849 fix: windows build (#8807) 2024-06-13 20:15:08 +00:00
Alexey Shekhirin
218526c1f9 fix(db): format tracing log fields with Debug (#8738) 2024-06-11 08:47:43 +00:00
DaniPopes
d772344d37 chore(deps): remove libffi dependency (#8736) 2024-06-11 06:44:29 +00:00
Oliver
51a28f22da chore: split db abstraction into new crate (#8594) 2024-06-04 21:45:57 +00:00
Thomas Coratger
7c17c6e469 add doc_markdown clippy lint (#8552)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-03 13:21:45 +00:00
joshieDo
db3d1335a8 feat: adds StorageLock to StaticFileProvider and mdbx::DatabaseEnv (#8528) 2024-06-03 12:28:56 +00:00
Matthias Seitz
80c0d618b4 fix: make reth-db compile without default features (#8509) 2024-05-30 17:56:35 +00:00
DaniPopes
e89e4c92fd chore(deps): bump metrics to 0.22 (#8517) 2024-05-30 17:02:37 +00:00
Thomas Coratger
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
Thomas Coratger
19c529e8df add use_self clippy lint (#8325) 2024-05-29 13:14:14 +00:00
Matthias Seitz
05fddd3454 chore: replace interfaces dep with storage-errors (#8384) 2024-05-24 09:41:39 +00:00
Matthias Seitz
4250c33da1 chore: clippy happy (#8362)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-05-23 13:24:20 +02:00
Federico Gimenez
5eb41d4088 fix: disable db shrinking (#8324) 2024-05-21 21:11:22 +00:00
Mateusz Morusiewicz
70db3d8276 storage: fixes behaviour of cursor delete_current on start item (#7646)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-04-17 06:39:21 +00:00
Alexey Shekhirin
0adaad312d chore: display total storage size in Grafana (#7455) 2024-04-04 15:20:19 +00:00
lmittmann
5968e9f3da feat(reth_db/mdbx): fix API regression in DatabaseArguments (#7323)
Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
2024-03-26 12:57:29 +00:00
Matthias Seitz
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
Roman Krasiuk
610731ced8 feat(db): record client version history (#7119) 2024-03-13 12:07:13 +00:00
Alexey Shekhirin
9f21d1ca0e feat(storage): improve current process detection for MDBX HSR (#6917) 2024-03-06 23:32:31 +00:00
DaniPopes
e42fb32c7f ci/test: speed up tests (#6987) 2024-03-06 13:30:18 +00:00
Alexey Shekhirin
0633fa569e test(storage): fix flaky read transaction safety (#6995) 2024-03-06 11:35:35 +00:00
Alexey Shekhirin
588c2f2e6a test(storage): make read transaction safety tests faster (#6994) 2024-03-06 10:58:11 +00:00
Alexey Shekhirin
a79f1951c5 feat(storage): log debug commit message only on commit (#6918) 2024-03-03 20:46:04 +00:00
Alexey Shekhirin
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
DaniPopes
a79db0f839 fix(db): race condition in Tx cached handles (#6923) 2024-03-02 11:52:39 +00:00
Alexey Shekhirin
d32a8efb1a Revert "feat(storage): use mdbx_txn_reset to time out transactions … (#6919) 2024-03-01 19:47:24 +00:00
Alexey Shekhirin
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
Alexey Shekhirin
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
Luca Provini
5475a12086 Db exclusive mode (#6755)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-02-28 11:23:14 +00:00
DaniPopes
ac36fa96ec perf(db): cache db handles using OnceLock (#6750) 2024-02-26 13:46:13 +00:00
DaniPopes
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
DaniPopes
9ca813aee2 chore: remove some unnecessary calls to unwrap/expect (#6727) 2024-02-22 16:36:08 +00:00
Seva Zhidkov
755ce9efc2 perf(metrics): cache handles for database transaction metrics (#6730) 2024-02-22 13:57:47 +00:00
joshieDo
9911e02cc7 feat: add debug! log on database commit times (#6693) 2024-02-20 13:49:52 +00:00
Dan Cline
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
DaniPopes
613b6f08a2 chore: use Table::TABLE in more places (#6563) 2024-02-12 14:53:16 +00:00
DaniPopes
2a5efb2a99 refactor(db): unify table macros (#6552) 2024-02-12 13:48:01 +00:00
DaniPopes
17eca361e8 chore: remove unused Default requirement in Table generics (#6551) 2024-02-12 12:23:28 +00:00
Seva Zhidkov
43b795163c perf(db): introduce environment-level cache for metric handles (#6550) 2024-02-12 12:13:57 +00:00
rakita
13947e509b chore: Bump revm to newest (#6357)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-06 22:59:10 +00:00
DaniPopes
32460a183a chore: log long tx backtrace on a new line (#6419) 2024-02-05 19:57:20 +00:00