Fridrik Asmundsson
d9fbafe110
Address review comments
2023-03-29 22:15:57 +02:00
Fridrik Asmundsson
9fdf87a160
Addressing lint errors
2023-03-29 22:15:57 +02:00
Fridrik Asmundsson
42f1760bb8
Delete existing message index when loading from snapshot
2023-03-29 22:15:57 +02:00
Fridrik Asmundsson
28fc74c3f8
Improve performance when populating message indax
2023-03-29 22:15:57 +02:00
Fridrik Asmundsson
62edba6884
Populate the index on snapshot import
...
Fixes: https://github.com/filecoin-project/lotus/issues/10537
2023-03-29 22:15:57 +02:00
vyzo
0de60a35cd
second error variable name to avoid confusing they yushie.
2023-03-29 22:13:26 +02:00
vyzo
9a0ec84953
shut down the index if there is an error during head processing
2023-03-29 22:13:26 +02:00
vyzo
e11e0eb32a
complain if head change processing is building backlog
2023-03-29 22:13:26 +02:00
vyzo
abdb12b450
add ON CONFLICT REPLACE clause in messages
2023-03-29 22:13:26 +02:00
vyzo
4f5e0a0fe4
basic msgindex itest
2023-03-29 22:13:26 +02:00
vyzo
682eb90654
adjust coalescer delays
2023-03-29 22:13:26 +02:00
vyzo
50d15e32c0
log rollback errors
2023-03-29 22:13:26 +02:00
vyzo
64a380fce3
wire in lifecycle context
2023-03-29 22:13:26 +02:00
vyzo
8735f69fc7
fix comment typo
2023-03-29 22:13:26 +02:00
vyzo
5b54bcf7f9
cosmetics
2023-03-29 22:13:26 +02:00
vyzo
e682036cef
refactor database
...
- drop the execution index; we don't need it
- it is inclusion tipset
- use MessagesForTipset
- hoist db sql stuffs on top for clarity
- add index for tipset on messages
2023-03-29 22:13:26 +02:00
vyzo
7219fae0a1
more lint
2023-03-29 22:13:26 +02:00
vyzo
0564663b7e
lint
...
lint
lint
2023-03-29 22:13:26 +02:00
vyzo
f82a94220d
make gen
2023-03-29 22:13:26 +02:00
vyzo
d032e4f119
use the transaction Luke!
2023-03-29 22:13:26 +02:00
vyzo
dad3442500
test test test
2023-03-29 22:13:26 +02:00
vyzo
e6a0c5a406
implement Close
2023-03-29 22:13:26 +02:00
vyzo
c123fab1da
implement reconciliation
2023-03-29 22:13:26 +02:00
vyzo
7a3af7bf0f
more implementation
2023-03-29 22:13:26 +02:00
vyzo
28321c1eea
better logger name
2023-03-29 22:13:26 +02:00
vyzo
6a67cd9931
implementation details
2023-03-29 22:13:26 +02:00
vyzo
46488d4356
abstract ChainStore interface
2023-03-29 22:13:26 +02:00
vyzo
0d1c0f9247
scaffolding
2023-03-29 22:13:26 +02:00