Commit Graph

88 Commits

Author SHA1 Message Date
Tien Nguyen
413d651391 chore: simplify import path (#12523) 2024-11-13 17:11:32 +00:00
Roman Krasiuk
ba4f169f87 chore(db): add log for read transaciton monitor sleep time (#12408) 2024-11-08 15:23:56 +00:00
Matthias Seitz
f545877bb8 Revert "Revert "feat: add geometry to database args"" (#12165) 2024-10-29 13:23:54 +00:00
Thomas Coratger
3c60778126 storage: into_iter with self by value (#12115) 2024-10-29 12:01:59 +00:00
lazymio
b257408060 Fix readonly check in libmdbx-rs (#12096) 2024-10-26 16:17:21 +00:00
Emilia Hane
16bc9c8b49 chore(lint): fix lint storage (#11485) 2024-10-04 17:19:02 +00:00
lazymio
92aeff083b fix(libmdbx): Some options can only be set after mdbx_env_open (#11328) 2024-09-30 12:51:46 +00:00
DaniPopes
07e94e7fa5 perf(db): use smallvec for mdbx table names (#11291) 2024-09-27 15:20:43 +00:00
Alexey Shekhirin
7abf49995f fix(libmdbx): renew tx on timeout when dropping cursor (#10840) 2024-09-11 13:16:05 +00:00
Alexey Shekhirin
265e92685d fix(libmdbx): do not panic on timeout when closing cursor (#10838) 2024-09-11 12:35:10 +00:00
DvirYo-starkware
2f782a9cbb feat(storage): add opt_sync_bytes and opt_sync_period options to MDBX (#10612) 2024-08-30 10:29:00 +00:00
Thomas Coratger
709e7b73ce clippy: add if_not_else clippy lint (#10524)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 10:58:06 +00:00
Thomas Coratger
c0902c8b47 deps: bump derive_more to 1.0 (#10403) 2024-08-20 20:16:12 +00:00
DaniPopes
05c67a8709 chore(mbdx): use std::ffi, remove unused files (#8839) 2024-06-14 16:02:56 +00:00
DaniPopes
d772344d37 chore(deps): remove libffi dependency (#8736) 2024-06-11 06:44:29 +00:00
Alexey Shekhirin
ae9ab69f5f refactor(node-builder): use datadir provided by the config (#8592) 2024-06-04 18:46:36 +00:00
Thomas Coratger
2b4fa96065 add explicit_iter_loop clippy lint (#8570)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-03 18:14:50 +00:00
Thomas Coratger
e02b935e94 add match_same_arms clippy lint (#8549) 2024-06-03 17:42:25 +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
Thomas Coratger
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
DaniPopes
13c914598e chore: name std threads (#8475) 2024-05-29 14:44:58 +00:00
Thomas Coratger
19c529e8df add use_self clippy lint (#8325) 2024-05-29 13:14:14 +00:00
Roman Krasiuk
aef1bcc435 chore: make clippy happy (#8068) 2024-05-03 10:18:41 +00:00
Alexey Shekhirin
1603113ce5 docs(libmdbx): more static_files -> snapshots (#8047) 2024-05-02 14:54:34 +00:00
Alexey Shekhirin
f6649c31b2 docs(libmdbx): static_files -> snapshots (#8046) 2024-05-02 13:43:37 +00:00
Delweng
7a593882e1 chore(github): use codespell to inspect and correct spelling issues (#7775)
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-23 21:32:59 +00:00
Matthias Seitz
15131c723e chore: allow transmute annotations (#7494) 2024-04-06 08:49:38 +02:00
Matthias Seitz
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
Justin Traglia
c108a2476c Enable clippy's equatable_if_let linter (#7221) 2024-03-19 14:32:43 +00:00
DaniPopes
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +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
Alexey Shekhirin
d32a8efb1a Revert "feat(storage): use mdbx_txn_reset to time out transactions … (#6919) 2024-03-01 19:47:24 +00:00
back
5e2cac442f 0x/rm unused dep (#6899)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-01 11:34:31 +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
Emilia Hane
ecba340c9d Ensure consistency between aborted set and reused ptrs (#6844) 2024-02-28 13:14:15 +00:00
Emilia Hane
3179391cfd fix(storage): add active txn before sending result (#6840) 2024-02-28 11:22:37 +00:00
Emilia Hane
f5ce869c0e Clone read transactions into TxnManager message listener (#6809) 2024-02-27 00:59:29 +00:00
DaniPopes
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
Alexey Shekhirin
6c1263e000 fix(tracing): prioritize RUST_LOG and verbosity CLI arg (#6413) 2024-02-05 19:42:32 +00:00
Alexey Shekhirin
227d7972d7 fix(libmdbx): build without read-tx-timeouts feature (#6225) 2024-01-25 16:12:29 +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
a6f8e449f7 feat(storage, mdbx): transaction manager (#6126) 2024-01-23 12:24:56 +00:00
Alexey Shekhirin
56a3548915 chore: fix clippy warnings for windows (#6005) 2024-01-10 13:15:18 +00:00
Alexey Shekhirin
0efbf893e3 fix(storage): disable MDBX HSR on Windows (#5991) 2024-01-09 21:17:04 +00:00
Alexey Shekhirin
a1225be077 fix(bin): process metrics version mismatch (#5985) 2024-01-09 16:59:55 +00:00
Alexey Shekhirin
408d1c7e9e feat(storage): handle-slow-readers callback for MDBX (#5941) 2024-01-08 17:54:47 +00:00
Thomas Coratger
11dfe56624 Improve mapping of MDBX error codes to human-readable errors (#5955)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-01-05 23:54:52 +00:00
Thomas Coratger
9aa44093cf lints: move top-level lints to [workspace.lints] manifest table (#5935) 2024-01-04 13:38:02 +00:00
DaniPopes
b1b059fe9b chore: clean up lints (#5881) 2023-12-28 16:23:50 +00:00