-
Notifications
You must be signed in to change notification settings - Fork 1.7k
"ancient block sync is still in progress" even though it completed. #10261
Comments
Hey, could you share more examples of what requests you are making, and how you are making them? Edit: I misread the source, |
If you disable |
My node did sync the ancient blocks and is now working as expected, but this was not documented nor written anywhere in the CLI. :( |
Well, it depends on what queries you were making - ordinary |
Thanks for the context. |
try to call the rpc with the following command |
Have you tried https://wiki.parity.io/JSONRPC-parity-module#parity_chainStatus ? |
tried |
updates: this rpc call |
@bonanblock could you please share what version you are running and which cli/config parameters you are using? |
|
So not only is ancient block sync not running, you are running an archive node. I can find the relevant error message and change it but I'm not certain what the correct error message would be for this situation. |
I would suggest give the same response as |
Just investigated the code, found the reason for the misleading error messages, |
* adds error message for --no-ancient-blocks, closes #10261 * Apply suggestions from code review Co-Authored-By: seunlanlege <seunlanlege@gmail.com>
* version: bump beta to 2.5.1 * fix(whisper expiry): current time + work + ttl (#10587) * update bootnodes (#10595) * config: update goerli bootnodes * config: update kotti bootnodes * adds rpc error message for --no-ancient-blocks (#10608) * adds error message for --no-ancient-blocks, closes #10261 * Apply suggestions from code review Co-Authored-By: seunlanlege <seunlanlege@gmail.com> * Constantinople HF on POA Core (#10606) * Constantinople HF on POA Core Plan Constantinople/St.Petersfork HF on POA Core network at block 8582254. Original PR in POA repository: poanetwork/poa-chain-spec#110 * Remove extra empty line * evm: add some mulmod benches (#10600) * evm: add blockhash_mulmod bench * evm: use num-bigint for mod ops * Clique: zero-fill extradata when the supplied value is less than 32 bytes in length (#10605) * Update kovan.json to switch validator set to POA Consensus Contracts (#10628) * Fix publish docs (#10635) * Fix publish docs * this never should be forced, either way compiling previous versions will produce outdated docs * fix array, var was moved to the group project global variables list * Fix rinkeby petersburg fork (#10632)
* adds error message for --no-ancient-blocks, closes #10261 * Apply suggestions from code review Co-Authored-By: seunlanlege <seunlanlege@gmail.com>
* ethcore/res: activate atlantis classic hf on block 8772000 (#10766) * fix docker tags for publishing (#10741) * merge-backports * Update version * remove clique engine from backports * Reset blockchain properly (#10669) * delete BlockDetails from COL_EXTRA * better proofs * added tests * PR suggestions * adds rpc error message for --no-ancient-blocks (#10608) * adds error message for --no-ancient-blocks, closes #10261 * Apply suggestions from code review Co-Authored-By: seunlanlege <seunlanlege@gmail.com> * Treat empty account the same as non-exist accounts in EIP-1052 (#10775) * fix: aura don't add `SystemTime::now()` (#10720) This commit does the following: - Prevent overflow in `verify_timestamp()` by not adding `now` to found faulty timestamp - Use explicit `CheckedSystemTime::checked_add` to prevent potential consensus issues because SystemTime is platform depedent - remove `#[cfg(not(time_checked_add))]` conditional compilation * DevP2p: Get node IP address and udp port from Socket, if not included in PING packet (#10705) * get node IP address and udp port from Socket, if not included in PING packet * prevent bootnodes from being added to host nodes * code corrections * code corrections * code corrections * code corrections * docs * code corrections * code corrections * Apply suggestions from code review Co-Authored-By: David <dvdplm@gmail.com> * Revert "fix: aura don't add `SystemTime::now()` (#10720)" This reverts commit f104784. * Add a way to signal shutdown to snapshotting threads (#10744) * Add a way to signal shutdown to snapshotting threads * Pass Progress to fat_rlps() so we can abort from there too. * Checking for abort in a single spot * Remove nightly-only weak/strong counts * fix warning * Fix tests * Add dummy impl to abort snapshots * Add another dummy impl for TestSnapshotService * Remove debugging code * Return error instead of the odd Ok(()) Switch to AtomicU64 * revert .as_bytes() change * fix build * fix build maybe
parity --jsonrpc-server-threads=5 --min-peers 50 --max-peers 200 --geth --no-ancient-blocks
and wait for the node to be up to date (it started importing the latest block every ~10sec)Error: Block information is incomplete while ancient block sync is still in progress, before it's finished we can't determine the existence of requested item.
for anything I'd try to do (retrieving a tx, publishing one, anything).parity db kill
parity --jsonrpc-server-threads=5 --min-peers 50 --max-peers 200 --geth
and wait for the node to syncancient block sync
again even though the node doesn't run with this parameter.The text was updated successfully, but these errors were encountered: