Commit Graph

64 Commits

Author SHA1 Message Date
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
Dan Cline
c1d7d2bde3 feat: add DatabaseMetrics trait for generic DB in reth node (#5690) 2023-12-11 22:28:56 +00:00
Alexey Shekhirin
5a7644709b feat(storage): report backtrace only on read transactions (#5625) 2023-11-29 18:39:15 +00:00
Alexey Shekhirin
07265d9787 perf(storage, mdbx): set rp augment limit (#5614) 2023-11-29 08:47:47 +00:00
Alexey Shekhirin
e2013b8ca3 feat(storage): report backtrace on long-lived transactions (#5537) 2023-11-23 14:53:13 +00:00
Matthias Seitz
aea11405ad feat: get rid of lifetime GATs (#5478) 2023-11-19 15:21:50 +00:00
DaniPopes
e34aec23ca chore: clean up Self: Sized bounds (#5481) 2023-11-18 02:16:31 +00:00
Matthias Seitz
7f9ce6f7c0 feat: get rid of cursor lifetime (#5476) 2023-11-17 20:37:34 +00:00
Matthias Seitz
3553cd5076 chore: remove cursed env lifetime (#5474) 2023-11-17 14:07:46 +00:00
Matthias Seitz
8459fb0ada chore: make inner private (#5445) 2023-11-15 19:03:54 +00:00
Matthias Seitz
dc72cad838 feat: phase out environment trait (#5439) 2023-11-15 16:42:34 +00:00
Matthias Seitz
efc5277964 chore: make txn manager private (#5426) 2023-11-14 17:07:04 +00:00
DaniPopes
f8ceda9ea8 chore: reduce size of common types (#5304) 2023-11-06 12:45:20 +00:00
Alexey Shekhirin
a9fa281816 feat(storage): database/transaction/cursor metrics (#5149) 2023-10-27 17:47:41 +00:00
DaniPopes
e05dba69ce chore: rewrite all error messages for consistency (#5176)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-10-25 20:12:03 +00:00
robinsdan
ede8278916 remove lifetime param in storage trait (#5046) 2023-10-17 13:30:50 +00:00
DaniPopes
5f9a917fb1 feat: Alloy migration (#4737)
Co-authored-by: Alessandro Mazza <121622391+alessandromazza98@users.noreply.github.com>
Co-authored-by: Supernovahs.eth <91280922+supernovahs@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-09-28 15:55:39 +00:00
Alexey Shekhirin
2904745650 chore: bump metrics (#4265) 2023-08-18 14:57:28 +00:00
Alexey Shekhirin
b2be35c0ff feat(interfaces): database write error details (#4190) 2023-08-14 13:09:01 +00:00
Alexey Shekhirin
770652a787 feat(bin, storage): configurable MDBX log level (#3524)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-07-03 12:45:32 +00:00
joshieDo
c3ea430e4a refactor: move mdbx::test-utils to reth_db::test-utils and add DatabaseEnvRO (#3466) 2023-06-29 23:52:26 +00:00
Matthias Seitz
ee322769c9 feat: add default max readers 32000 (#3465) 2023-06-29 15:01:47 +00:00
Mateusz
6810cd1295 feat(db): add helper enum for table name (#2935)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-22 18:04:01 +00:00
Georgios Konstantopoulos
08900740bc feat: Better progress reporting for stage checkpoints (#2982)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2023-06-05 16:10:46 +00:00
Matthias Seitz
10717a7cc3 chore: apply same impl order (#2937) 2023-05-31 22:44:34 +00:00
Roman Krasiuk
10b577096b chore(metrics): restructure crates (#2850) 2023-05-26 12:21:48 +00:00
Matthias Seitz
352b55dc05 chore: rename Error to DatabaseError (#2718) 2023-05-17 15:21:46 +02:00
Bjerg
32b9a5b05e chore: use 4gb growth step (#2616) 2023-05-09 16:42:08 +02:00
Roman Krasiuk
6a79b16737 test(walker): walk range on dup table (#2561) 2023-05-04 12:27:03 -07:00
Roman Krasiuk
f9f9683d2a test(cursor): dup insert & delete current (#2411) 2023-04-26 09:53:35 -07:00
joshieDo
019ddd1edc perf(db): reduce different repeated allocations (#2103) 2023-04-13 11:33:53 -04:00
Roman Krasiuk
d851054dff chore(db): clarify upsert (#2216)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-12 15:31:49 -04:00
Matthias Seitz
a8665309fc chore: more error context for failed to open (#2215) 2023-04-12 12:10:52 -04:00
rakita
ee99987e9e test: next key for seek_by_key_subkey (#2112) 2023-04-04 07:40:58 -07:00
rakita
3956e306f2 bug(cursor_walk): handle empty range (#2057) 2023-03-31 15:08:59 +02:00
rakita
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
Tom French
cea56f1e1d chore: silence unwanted clippy warning in test (#1566) 2023-02-27 02:22:11 -08:00
Matthias Seitz
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +01:00
Tomás
8547fbfaed test: walk_back and walk_range (#1407)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-16 12:25:21 -08:00
Tomás
db4c4fb8d1 chore(db): make database error codes signed (#1236)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-16 10:39:30 -08:00
joshieDo
313bf28501 feat: add reth dump-stage command (#1328) 2023-02-14 09:23:33 -08:00
Georgios Konstantopoulos
49292091dd Revert "feat: add reth dump-stage command" (#1327) 2023-02-13 19:10:58 -08:00
joshieDo
b3ff45229a feat: add reth dump-stage command (#1265) 2023-02-13 19:07:43 -08:00
Alexey Shekhirin
e93cd206fe feat(storage): accept any RangeBounds to walk_range (#1309) 2023-02-13 17:31:56 -08:00
Georgios Konstantopoulos
ea5633b3c3 feat: changed walk(), walk_dup() definitions and impls to accept Option<T::(sub)Key> #1197 (#1283)
Co-authored-by: Estéfano Bargas <estefano.bargas@fing.edu.uy>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-10 21:10:31 -08:00
Roman Krasiuk
00a49f5ee7 chore(db): remove block numhash key (#1242) 2023-02-10 13:43:00 -08:00
Bjerg
a40745bab9 feat: add db.commit metric (#1188) 2023-02-06 12:30:49 +01:00
Kim, JinSan
e7cc50038f test(db): cursor write operations are working properly wherever cursor is (#1161) 2023-02-03 12:02:33 -08:00