Commit Graph

111 Commits

Author SHA1 Message Date
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
Seva Zhidkov
c7a4bc9f93 feat(db): propagate text error messages from mdbx (#6353) 2024-02-02 23:01:01 +00:00
Alexey Shekhirin
ede3b8ce55 feat(storage): make it possible to disable read tx timeout (#6181) 2024-01-23 16:16:44 +00:00
Alexey Shekhirin
1e4d125616 feat(storage, blockchain-tree): disable backtrace on long read tx when it's safe (#6177) 2024-01-23 13:44:01 +00:00
Alexey Shekhirin
a6f8e449f7 feat(storage, mdbx): transaction manager (#6126) 2024-01-23 12:24:56 +00:00
Roman Krasiuk
daf6eb6d45 chore(db): format backtrace (#6039) 2024-01-12 13:03:21 +00:00
rakita
ee199bb5db fmt: run nightly-2023-10-15 and remove semicolons (#6035) 2024-01-12 11:38:41 +00:00
Alexey Shekhirin
56a3548915 chore: fix clippy warnings for windows (#6005) 2024-01-10 13:15:18 +00:00
Alexey Shekhirin
573c73fd82 fix(storage): gate MDBX HSR with macro (#6000) 2024-01-10 10:48:40 +00:00
Matthias Seitz
0588fa44c2 fix: use cfg attributes over macro (#5999) 2024-01-10 10:32:29 +00:00
Alexey Shekhirin
0efbf893e3 fix(storage): disable MDBX HSR on Windows (#5991) 2024-01-09 21:17:04 +00:00
Alexey Shekhirin
6ad221fd28 feat(storage): downgrade tx open log to trace (#5984) 2024-01-09 14:51:34 +00:00
Alexey Shekhirin
189cf490eb feat(storage): log tx opening location (#5973) 2024-01-08 19:01:17 +00:00
Alexey Shekhirin
408d1c7e9e feat(storage): handle-slow-readers callback for MDBX (#5941) 2024-01-08 17:54:47 +00:00
Alexey Shekhirin
62d2cedff2 chore(storage): warning log about long read db transaction (#5929) 2024-01-03 11:24:24 +00:00
Dan Cline
900fe7ea4e feat: make NodeState generic over DB with DatabaseMetadata (#5691) 2023-12-18 11:55:21 +00:00
DaniPopes
27caf7b4ce perf: random changes (#5795) 2023-12-16 18:11:26 +00:00
Nikita Smirnov
667972c20e feat: Report MDBX commit latency metrics (#5668)
Co-authored-by: Nikita Smirnov <nikita.smirnov.m@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-12-15 10:38:03 +00:00