Skip to content
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

MongoError: document is larger than the maximum size 16777216 #3549

Open
rlaace423 opened this issue Mar 3, 2023 · 5 comments
Open

MongoError: document is larger than the maximum size 16777216 #3549

rlaace423 opened this issue Mar 3, 2023 · 5 comments

Comments

@rlaace423
Copy link
Contributor

rlaace423 commented Mar 3, 2023

bitcore-node version : 8.25.30

I'm using bitcore for collecting ethereum goerli network information.
At specific block, it stucked and said,
MongoError: document is larger than the maximum size 16777216.

How can I solve it?
Is there a way to skip a specific block or a specific transaction?

that goerli block number seems 8575482 which contains 22 txs, 21686 internal txs.

image

@rlaace423
Copy link
Contributor Author

For newer releases, is it solved?

@escottalexander
Copy link
Contributor

escottalexander commented Mar 20, 2023

For newer releases, is it solved?

Yes, this issues should be solved in the latest release. It doesn't have to do with the size of a particular block. What is happening is that when Bitcore has synced all the blocks from the network it does an update to all the records to make sure each block's nextBlock and previousBlock are present. It was missing proper indexes to do this so it was failing. It is fixed in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@rlaace423 @escottalexander and others