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

[leo_storage][leo_backend_db] Cannot migrate old one to v1.2.9 #366

Closed
yosukehara opened this issue May 21, 2015 · 1 comment
Closed

[leo_storage][leo_backend_db] Cannot migrate old one to v1.2.9 #366

yosukehara opened this issue May 21, 2015 · 1 comment
Assignees
Milestone

Comments

@yosukehara
Copy link
Member

That root cause is this fix. I'll solve this issue soon.

@yosukehara
Copy link
Member Author

In the error case, leo_backend_db added "0" to a filename as below:

Error:

lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 00 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/00_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 00_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 10 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/10_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 10_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 20 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/20_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 20_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 30 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/30_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 30_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 40 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/40_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 40_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 50 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/50_63599485921/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 50_63599485921
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 60 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/60_63599485921/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 60_63599485921
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 70 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/70_63599485921/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 70_63599485921

Correct:

lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 0 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/0_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 0_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 1 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/1_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 1_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 2 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/2_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 2_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 3 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/3_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 3_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 4 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/4_63599485922/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 4_63599485922
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 5 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/5_63599485921/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 5_63599485921
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 6 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/6_63599485921/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 6_63599485921
lrwxr-xr-x   1 yosuke.hara  yosuke.hara   99 May 22 12:52 7 -> /Users/yosuke.hara/dev/leo-project/test/leofs-1.2.9/package/leo_storage/avs/metadata/7_63599485921/
drwxr-xr-x  14 yosuke.hara  yosuke.hara  476 May 22 12:52 7_63599485921

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

No branches or pull requests

1 participant