openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.82k stars 1.69k forks source link

Tracing Data from 2.7.2 seem to be ignored #11678

Closed denisgranha closed 4 years ago

denisgranha commented 4 years ago

Using data from a parity 2.7.2 tracing node on current master for Openethereum seem to be ignored and the node start to sync from scratch. Attached logs:

2020-05-04 16:24:02 UTC Starting OpenEthereum/v3.0.0-alpha.1-nightly-748a8e3-20200429/x86_64-alpine-linux-musl/rustc1.43.0
2020-05-04 16:24:02 UTC Keys path /mnt/ethereum/.rinkeby/keys/ethereum
2020-05-04 16:24:02 UTC DB path /mnt/ethereum/.rinkeby/chains/ethereum/db/906a34e69aec8c0d
2020-05-04 16:24:02 UTC State DB configuration: fast +Trace
2020-05-04 16:24:02 UTC Operating mode: active
2020-05-04 16:24:02 UTC Warning: Warp Sync is disabled because tracing is turned on.
2020-05-04 16:24:02 UTC Configured for Ethereum using Ethash engine
2020-05-04 16:24:03 UTC Updated conversion rate to Ξ1 = US$204.91 (23239004 wei/gas)
2020-05-04 16:24:08 UTC Public node URL: enode://ed9a51ad1508872c79b22194db81d01a7bd670e57ed31be4c3bc0a3bfc69582c5da323feef5768120c9ea6f39b6905dcbe2fd4b06af385bfac5a201b43f4405f@127.0.0.1:30303
2020-05-04 16:24:13 UTC Syncing    #5408 0x52f9…13b9    52.22 blk/s    0.0 tx/s    0.0 Mgas/s   1736+    0 Qed     #7297    2/25 peers    409 KiB chain   22 MiB db    3 MiB queue  560 KiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:18 UTC Syncing    #6526 0xfb5e…e1d8   223.29 blk/s    0.0 tx/s    0.0 Mgas/s   5726+    0 Qed    #12258    2/25 peers      1 MiB chain   25 MiB db   11 MiB queue    2 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:23 UTC Syncing    #7582 0x6eed…4f5f   211.03 blk/s    0.0 tx/s    0.0 Mgas/s  10621+    4 Qed    #18217    3/25 peers      2 MiB chain   28 MiB db   20 MiB queue    2 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:28 UTC Syncing    #8668 0x339c…4fc8   217.11 blk/s    0.0 tx/s    0.0 Mgas/s  16141+    0 Qed    #24821    3/25 peers      2 MiB chain   35 MiB db   31 MiB queue    2 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:33 UTC Syncing    #9780 0x376f…92c0   222.18 blk/s    0.0 tx/s    0.0 Mgas/s  20944+    1 Qed    #30728    3/25 peers      3 MiB chain   38 MiB db   40 MiB queue    3 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:38 UTC Syncing   #10965 0x8322…fbe8   236.81 blk/s    0.0 tx/s    0.0 Mgas/s  20837+    0 Qed    #31808    3/25 peers      3 MiB chain   41 MiB db   40 MiB queue    4 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:43 UTC Syncing   #12105 0xe5a6…f152   224.59 blk/s    0.0 tx/s    0.0 Mgas/s  21212+    0 Qed    #33330    4/25 peers      4 MiB chain   44 MiB db   41 MiB queue    6 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:48 UTC Syncing   #13248 0x6ef5…1183   227.78 blk/s    0.0 tx/s    0.0 Mgas/s  20831+    0 Qed    #34092    4/25 peers      5 MiB chain   47 MiB db   40 MiB queue    5 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:53 UTC Syncing   #14398 0x6115…83ac   228.57 blk/s    0.0 tx/s    0.0 Mgas/s  21129+    0 Qed    #35530    6/25 peers      5 MiB chain   51 MiB db   40 MiB queue    5 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:24:58 UTC Syncing   #15582 0xee7e…d162   237.90 blk/s    0.0 tx/s    0.0 Mgas/s  20658+    0 Qed    #36251    6/25 peers      5 MiB chain   54 MiB db   40 MiB queue    6 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:25:03 UTC Syncing   #16695 0x7e6a…beda   223.58 blk/s    0.0 tx/s    0.0 Mgas/s  19553+    0 Qed    #36256    7/25 peers      6 MiB chain   57 MiB db   37 MiB queue   10 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:25:08 UTC Syncing   #17873 0x8074…d8fb   235.36 blk/s    0.0 tx/s    0.0 Mgas/s  18379+    1 Qed    #36256    7/25 peers      6 MiB chain   60 MiB db   35 MiB queue   15 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2020-05-04 16:25:13 UTC Syncing   #18945 0x0cd6…518d   214.11 blk/s    0.0 tx/s    0.0 Mgas/s  17302+    5 Qed    #36256    7/25 peers      6 MiB chain   71 MiB db   33 MiB queue   15 MiB sync  RPC:  0 conn,    0 req/s,    0 µs

configuration parameters for each node:

Parity:

"--base-path=/mnt/ethereum/.rinkeby",
            "--mode=active",
            "--chain=rinkeby",
            "--pruning=fast",
            "--tracing=on",
            "--fat-db=off",
            "--cache-size=4096",
            "--db-compaction=ssd",
            "--allow-ips=public",
            "--max-peers=20",
            "--max-pending-peers=32",
            "--min-peers=10",
            "--no-serve-light",
            "--no-periodic-snapshot",
            "--no-secretstore",
            "--no-ipc",
            "--no-ws",
            "--scale-verifiers",
            "--jsonrpc-interface=0.0.0.0",
            "--jsonrpc-server-threads=6",
            "--jsonrpc-threads=0",
            "--force-sealing",
            "--reseal-min-period=0",
            "--reseal-on-txs=own",
            "--tx-queue-size=2048",
            "--auto-update=none"

Openethereum:

 "--base-path=/mnt/ethereum/.rinkeby",
 "--tracing=on",
denisgranha commented 4 years ago

I just realised that Openethereum was run without chain specified, that should be the issue

denisgranha commented 4 years ago

Yes, confirmed, sorry for the false alarm

2020-05-05 11:09:00 UTC Migrating database from version 14 to 15
2020-05-05 11:10:55 UTC Removing accounts existence bloom (139695 keys)
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 10000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 20000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 30000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 40000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 50000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 60000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 70000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 80000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 90000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 100000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 110000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 120000
2020-05-05 11:10:55 UTC   Account Bloom entries queued for deletion: 130000
2020-05-05 11:10:56 UTC Deleted 131074 account existence bloom items from the DB
2020-05-05 11:10:56 UTC Migration finished
2020-05-05 11:10:56 UTC Starting OpenEthereum/v3.0.0-alpha.1-nightly-748a8e3-20200429/x86_64-alpine-linux-musl/rustc1.43.0
2020-05-05 11:10:56 UTC Keys path /mnt/ethereum/.rinkeby/keys/rinkeby
2020-05-05 11:10:56 UTC DB path /mnt/ethereum/.rinkeby/chains/rinkeby/db/0d824504e4fa37a7
2020-05-05 11:10:56 UTC State DB configuration: fast +Trace
2020-05-05 11:10:56 UTC Operating mode: active
2020-05-05 11:10:56 UTC Configured for Rinkeby using Clique engine
2020-05-05 11:11:02 UTC Public node URL: enode://ed9a51ad1508872c79b22194db81d01a7bd670e57ed31be4c3bc0a3bfc69582c5da323feef5768120c9ea6f39b6905dcbe2fd4b06af385bfac5a201b43f4405f@127.0.0.1:30303
2020-05-05 11:11:07 UTC Syncing #6429754 0xbfb2…077c     0.00 blk/s    0.0 tx/s    0.0 Mgas/s    203+  551 Qed  #6430516    1/25 peers      7 MiB chain   57 MiB db   25 MiB queue  465 KiB sync  RPC:  0 conn,    0 req/s,    0 µs