filecoin-project / boost

Boost is a tool for Filecoin storage providers to manage data storage and retrievals on Filecoin.
Other
111 stars 71 forks source link

[Support Ticket]: Unable to migrate data using migrate-lid yugabyte #1978

Open zelin44913 opened 2 days ago

zelin44913 commented 2 days ago

Boost component

Boost Version

boostd version 2.3.0+mainnet+git.15f5241
migrate-lid version 2.3.0+mainnet+git.15f5241

Describe the problem

Migrating to yugabyte Local Index Directory. See detailed logs of the migration at
migrate-yugabyte.log
Migrating indices...   0% [                                                                                                                                                                                                          ] (0/100) [0s:0s]
Error: migrating indices: open /data/.lotusstorage/.boost/dagstore/index: no such file or directory

Logging Information

no

Repo Steps

  1. Run 'migrate-lid yugabyte --hosts 127.0.0.1 --connect-string="postgresql://yugabyte:yugabyte@127.0.0.1:5433?sslmode=disable&load_balance=true" dagstore'
  2. Do '...'
  3. See error 'Error: migrating indices: open /data/.lotusstorage/.boost/dagstore/index: no such file or directory' ...
LexLuthr commented 2 days ago

@zelin44913 Where are you migrating from? This ticket is missing basic information. Please provide a detailed description of what you are trying to do and when was the error encountered. Please also attach the document link followed.

zelin44913 commented 2 days ago

Currently boostd uses Leveldb. Due to performance bottlenecks, I need to migrate to Yugabyte.

LexLuthr commented 9 hours ago

There is no migration path available from levelDB to YB in Boost. There is a community tool available here which you can use on your own risk.