Alex Sharov
9fa56d97ea
kv_mdbx: don't use defer
for wg.Add(). not necessary and sometime it checking invalid err
variable ( #1019 )
2023-06-13 03:57:11 +00:00
Alex Sharov
2c89914c25
e3: move domains to tables.go ( #1018 )
2023-06-11 14:12:07 +00:00
Alex Sharov
dfdc66dfeb
mdbx: tx.Get - avoid interface casting ( #1017 )
2023-06-11 02:45:41 +00:00
alex.sharov
f3edece0bc
docs: cursor dupsort example
2023-06-09 21:41:06 +07:00
Alex Sharov
8f2e5802dd
Store Canonical/NonCanonical/Bad blocks/senders/txs in same tables. Make re-org cheaper. ( #1013 )
2023-06-05 05:36:54 +00:00
alex.sharov
52fb055974
save
2023-06-05 11:43:40 +07:00
alex.sharov
1a7aac338e
save
2023-06-02 08:15:18 +07:00
Alex Sharov
9a408d5d41
Downloader fix no race between .Download() and .Stats() ( #1004 )
2023-06-01 09:04:06 +00:00
Alex Sharov
cf41b09ed2
remove "db" log line from ( #995 )
2023-05-14 01:42:51 +00:00
ledgerwatch
1113e19aca
Separate logs for kv/remotedbserver ( #993 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-10 16:09:09 +00:00
Alex Sharov
160ecd927e
reduce default --db.size.limit from 7 to 3 Tb (to fit defaults of some systems) ( #992 )
2023-05-10 02:43:17 +00:00
Alex Sharov
0e2883bf3f
LeakDetector: use it to find which resource was created but not closed (leaked) ( #990 )
2023-05-08 05:22:24 +00:00
Alex Sharov
1e70a0a4ee
e3: rethink meaning of kv_temporal.BeginRw() ( #983 )
2023-04-30 03:08:39 +00:00
Alex Sharov
546a2a4ccd
erigon backup: v0 of sub-command ( #980 )
2023-04-27 03:41:17 +00:00
alex.sharov
16d5e77056
save
2023-04-24 10:04:23 +07:00
Alex Sharov
b1183da945
e3: remove files when no readers ( #978 )
2023-04-23 04:55:13 +00:00
Alex Sharov
0d918d9f7d
add flag --db.size.limit ( #973 )
2023-04-17 12:49:08 +00:00
Andrew Ashikhmin
a6e2d936a3
Remove Parlia ( #969 )
2023-04-13 20:56:49 +00:00
Andrew Ashikhmin
9ef1a57e84
[interfaces] lower_snake_case field names ( #967 )
...
Pick up https://github.com/ledgerwatch/interfaces/pull/163
2023-04-12 09:59:02 +00:00
omahs
0d45034fbb
Fix: typos ( #966 )
...
Fix: typos
2023-04-07 02:06:34 +00:00
alex.sharov
691c293d11
clean
2023-03-26 12:23:40 +07:00
alex.sharov
b5c4b8266f
clean
2023-03-26 12:22:22 +07:00
alex.sharov
b220ee207a
clean
2023-03-26 12:18:36 +07:00
alex.sharov
daa2d67790
clean
2023-03-26 12:18:29 +07:00
Alex Sharov
0b9404adb8
add constant kv.Unlim=-1 ( #955 )
2023-03-26 03:18:07 +00:00
Alex Sharov
a4034d5cea
enable more linters ( #954 )
2023-03-25 05:13:20 +00:00
Alex Sharov
5160bef4bc
e3: DomainGetAsOf, DomainRange ( #953 )
2023-03-25 03:51:41 +00:00
Alex Sharov
f110e80dab
go 1.19 atomics ( #951 )
2023-03-23 05:11:20 +00:00
Alex Sharov
0915811f47
e3: domain range api simplify ( #949 )
2023-03-22 07:35:58 +00:00
Alex Sharov
24a5f38a85
e3: unionKV limit ( #948 )
2023-03-22 06:58:07 +00:00
Alex Sharov
c2b85725c8
e3: union limit ( #947 )
2023-03-22 06:38:02 +00:00
Alex Sharov
39f1d090c6
e3: remove settings table ( #946 )
2023-03-22 05:21:11 +00:00
Alex Sharov
e143f7756f
e3: history no auto-increment ( #935 )
2023-03-15 06:47:48 +00:00
Jason Yellick
820840bbbb
Fix broken doc link ( #934 )
...
The [KV
Readme.md](https://github.com/ledgerwatch/erigon-lib/tree/main/kv#ethdbabstractkv-design )
currently references `dupsort.md` which is in the original Erigon repo,
so the link is broken. This simply fixes the reference to point back to
the main repo.
Co-authored-by: Jason Yellick <jason@enya.ai>
2023-03-14 15:43:07 +07:00
Alex Sharov
b968398cbd
e3: split "changed keys" iterator to simplify ( #933 )
2023-03-13 08:06:37 +00:00
alex.sharov
c3c270fdf5
rawdb: txnums.Last
2023-03-10 15:14:03 +07:00
alex.sharov
25d913c676
better iter dup
2023-03-09 09:57:16 +07:00
Alex Sharov
05d0018864
e3: use iterators composition in invIndex.Range( ( #926 )
2023-03-09 02:26:29 +00:00
Alex Sharov
fd8122be5b
mdbx: RangeDupSort iterator ( #925 )
2023-03-08 10:16:04 +00:00
Alex Sharov
44f8a908db
etl: distinct empty values from nil ( #919 )
...
Reverts ledgerwatch/erigon-lib#918
2023-03-07 04:19:08 +00:00
Alex Sharov
f0a051c44c
Revert "etl: distinct empty values from nil" ( #918 )
...
Reverts ledgerwatch/erigon-lib#902
2023-03-07 03:22:20 +00:00
Alex Sharov
f4a02864a9
etl: distinct empty values from nil ( #902 )
2023-03-07 02:30:45 +00:00
Giulio rebuffo
a790ec764a
added finalized roots table ( #915 )
2023-03-05 18:28:54 +00:00
Alex Sharov
70f4a28e0e
e3: optimize iterators, step1 ( #903 )
2023-02-24 03:31:10 +00:00
ledgerwatch
fe85438cb4
kv/mdbx: Ability to list tables from read-only tx, and enumerate DBs open in a process ( #897 )
...
This is for the diagnostics project
---------
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-22 08:30:20 +00:00
Alex Sharov
cb8d3ec530
EliasFano: Search to touch only UpperBits array ( #895 )
2023-02-20 06:42:35 +00:00
Alex Sharov
565acd3624
e3: read files list from db ( #885 )
2023-02-13 05:16:58 +00:00
Maxim Andreev
ddf6c3bcf3
kv_mdbx: fix typo db.evn -> db.env ( #887 )
2023-02-12 18:20:50 +07:00
ledgerwatch
aa2b561741
Disallow memory db creation with empty tmpDir ( #886 )
...
It silently fills up `/tmp` directory with directories that never get
cleaned up and eventually cause trouble
---------
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-11 20:08:54 +00:00
Alex Sharov
db0e7ed112
e3: return list of e3 files by grpc ( #884 )
2023-02-10 14:16:39 +07:00