-
Notifications
You must be signed in to change notification settings - Fork 71
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
[Support Ticket]: boostd v2.1.1, LevelDB, retrieval errors (multihash not found) #1839
Comments
@Shekelme If you still have the older dagstore safe then I would recommend rerunning the migration. I highly recommend YugabyteDB instead of levelDB for performance and easy of use. Once you are done migrating, we can recover the 3 new deals using the recovery tools. Please make sure to follow the procedure correctly this time. |
I still remain confident that for a small miner of several tens of terabytes of raw power, there is no need to raise a cluster of at least three YugabyteDB instances. |
Multiple SPs are running a single node Yugabyte cluster for smaller miners. The timeout is defined within the code and is not part of the execution command. I would not recommend increasing it either. 60 seconds is enough time for a shard to be read and written back unless something is blocking the execution. |
@Shekelme I think there is something preventing your system from migrating properly or it might be migrating the pieceInfo in a different directory. Have you checked if there are any other LID directories maybe? With Yugabyte, you have more control and we can always access the DB to check what might be the issue. |
No, I think I found the reason..... |
That explains the problems. Both commands have an option to set the directory so start |
Please make sure to shutdown |
Boost component
Boost Version
Describe the problem
After the boost migration from version 1.7.5 to version 2.1.1 (using LevelDB since this is a small miner), all retrievals end with an error of this type:
![image](https://private-user-images.githubusercontent.com/26449500/288460245-691a6f7c-a11a-4a45-90d6-79ef66dba8e5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTU0MjYsIm5iZiI6MTczOTE1NTEyNiwicGF0aCI6Ii8yNjQ0OTUwMC8yODg0NjAyNDUtNjkxYTZmN2MtYTExYS00YTQ1LTkwZDYtNzllZjY2ZGJhOGU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAyMzg0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNiODYxZWJmZDZlYmY0MTE1MTc2MTkyMGI4YjMzMzk1YjkxNTk2OTVjZTUzMmYzZDI3YjMwNWFiZDZhM2EyM2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xA--QU018-oQk3krEksspFL13HPMwPaXXjclouv6M5Q)
In some more details:
At first I thought the error was that the
boostd-data
service was not running at the time of the pieceinfo migration.Then I found that this command itself was wrong. But after correcting the command, despite the fact that the migration log seems to report the successful completion of the pieceinfo migration, still only three indexed deals received and sealed after the upgrade are displayed on the lid page.
The migration was carried out using the following commands:
![image](https://private-user-images.githubusercontent.com/26449500/288464913-bcf4b1b9-9009-416a-90eb-395299386b39.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTU0MjYsIm5iZiI6MTczOTE1NTEyNiwicGF0aCI6Ii8yNjQ0OTUwMC8yODg0NjQ5MTMtYmNmNGIxYjktOTAwOS00MTZhLTkwZWItMzk1Mjk5Mzg2YjM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAyMzg0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwMmZkYmViZTJiODJhZGZjODQ3OTViMzY3Zjk3ODM4NzlmMGU3ZDg3YjdkNTcyMWViNDljNTE3YWMyZGU2YTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vihJouDWODoD363Rye-hR4atFKOmJ5PMqdEbKkZRdrY)
migrate-lid leveldb dagstore
The migration was not completed on the first attempt, I had to run the migration several times until all migrations were gradually completed (judging by the messages that the command returned upon completion), except for one (timestamp 2023-12-05T00:03:52.234 in the log).
Then my erroneous command looked like
migrate-lid leveldb dagstore pieceinfo
, so I assume that the pieceinfo migration has not been carried out. But since I was still informed about one unfinished migration, I repeated the command a couple of times in the hope that the migration would still be completed. Timestamps 2023-12-05T16:37:46.938 to 2023-12-05T17:02:41.372.Today (2023-12-06T17:26:46.424) I tried to migrate pieceinfo with the
boostd-data
service running, but again with the wrong command.Then finally with correct command
migrate-lid leveldb pieceinfo
(timestamp 2023-12-06T17:47:53.396) - 621 piece infos migrated, no errors, but still no any single pre-upgrade deal on the Local Index Directory page.I tried to repeat the pieceinfo migration even with the boostd-data service turned off, no attempts gave any result (except for a negative result).
migrate-leveldb.log
Logging Information
Repo Steps
...
The text was updated successfully, but these errors were encountered: