-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to apply updates. Missed required property metadata #84
Comments
Hi! That error means that responses from the node RPC (in particular, Why blocks may not contain metadata fieldsRoughly speaking, there are two types of storage in the node:
So, when you do RPC request Why there may be no context for some blocksWhen the node is working and receiving new blocks, it saves the blocks and also computes and saves context for those blocks. For example, if you check the context for the head block ( However, it may be missed for old blocks due to two possible reasons:
Importing fresh node snapshots is the most often reason, actually. This happens because snapshots usually don't contain context data, but only blocks data, so when you import a snapshot you import just the block storage, but the context storage is empty for all blocks from the genesis to the last block in the snapshot. Why TzKT faces this issueLet's say you have an indexer that stopped syncing at the block 1000 and then you import a fresh node snapshot which is on the block 1010. When you start the indexer, it tries to fetch the block 1001, but your node doesn't have context for it (due to snapshot), and actually for all blocks older than 1010. So the indexer just can't receive necessary data, and this is what you have faced. How to solve itThe solution is pretty simple:
You can check at which block the indexer is by calling API |
Hi! First of all thanks for this project; it's great!
I'm trying to use the docker builds with compose. I have tried 1.6.4, 1.7.0, and the latest all with the same issue. I've wiped the data volume each time.
tkzt_sync keeps responding with this general error:
I'm not sure what it is choking on. Perhaps it is because I'm using the newest tezos-node with the updated storage format?
I don't think it matters since I'm using docker but I'm running this on:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal Linux 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Let me know if you need any more information, thank you.
The text was updated successfully, but these errors were encountered: