erigon-pulse/turbo/snapshotsync
BitBaseBit 7ed337cdcc
Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153)
* implemented crash reporting for all goroutine panics that aren't handled explicitly

* implemented crash reporting for all goroutine panics that aren't handled explicitly

* changed node defaults back to originals after testing

* implemented panic handling for all goroutines that don't explicitly handle them, outputting the stack trace to a file in crashreports

* handling panics on all goroutines gracefully

* updated missing call

* error assignment

* implemented suggestions

* path.Join added

* implemented Evgeny's suggestions

* changed path.Join to filepath.Join for cross-platform

* added err check

* updated RecoverStackTrace to LogPanic

* updated closures

* removed call of common.Go to some goroutines

* updated scope capture

* removed testing files

* reverted back to original method, I feel like its less intrusive

* update filename for clarity
2021-06-13 17:41:39 +01:00
..
build_infobytes.go Snapshot sync headers stage (#1836) 2021-05-08 09:45:40 +01:00
client.go Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
const.go rename (#1978) 2021-05-20 19:25:53 +01:00
downloader.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +01:00
external_downloader_grpc.pb.go Snapshot sync headers stage (#1836) 2021-05-08 09:45:40 +01:00
external_downloader.pb.go Snapshot sync headers stage (#1836) 2021-05-08 09:45:40 +01:00
logger.go rename (#1978) 2021-05-20 19:25:53 +01:00
postprocessing_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
postprocessing.go rename (#1978) 2021-05-20 19:25:53 +01:00
server.go rename (#1978) 2021-05-20 19:25:53 +01:00
snapshot_builder_test.go Snapshot builder simplification (#2064) 2021-06-04 13:30:02 +01:00
snapshot_builder.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +01:00
snapshot_mode_test.go Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
snapshot_mode.go Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
wrapdb.go Dont exec all blocks in 1 tx (#2076) 2021-06-02 08:15:17 +01:00