EOSIO / history-tools

EOSIO History Tools
https://eosio.github.io/history-tools/
MIT License
64 stars 45 forks source link

Support get_blocks_result v1, action_trace_v1 as well as new prunable… #101

Closed jgiszczak closed 3 years ago

jgiszczak commented 3 years ago

… data formats.

jgiszczak commented 3 years ago

This version works in bulk mode but in single block mode it (apparently) completes between 50-60 blocks, then suffers an exceedingly uninformative exception: error 2020-12-05T20:49:53.302 fill-pg state_history_connecti:168 catch_and_close ] Attempt to commit previously aborted transaction<READ COMMITTED>.

It calls t.commit() on every individual block after leaving bulk mode, but nothing shows in the database, including fill_status, which remains at the previous bulk block number. Why is it that commit doesn't mean commit?

jgiszczak commented 3 years ago

Uninformative error problem solved by retrieving exceptions from pqxx pipelines.