-
Notifications
You must be signed in to change notification settings - Fork 23
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
TBD: When deleting folder - it deletes wrong hash #385
Comments
@cnlangzi I have tried this issue as explained. then i have deleted "Second Folder". and it worked as expected. TYPE | NAME | PATH | SIZE | NUM BLOCKS | LOOKUP HASH | IS ENCRYPTED | DOWNLOADS PAYER TYPE | NAME | PATH | SIZE | NUM BLOCKS | LOOKUP HASH | IS ENCRYPTED | DOWNLOADS PAYER need more details to reproduct this issue. like |
@moldis Can you help @princeparmar with the reproduction instructions or are we missing something in the issue context? |
reproduce it
|
|
After deleting second folder I got response is
12:52
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:10.688198 deleteworker.go:74: http://dev.0chain.net:31305 /Second Folder deleted.
0box-sdk: [INFO] 2021/10/12 05:48:10.689572 deleteworker.go:74: http://dev.0chain.net:31304 /Second Folder deleted.
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:10.689572 deleteworker.go:74: http://dev.0chain.net:31306 /Second Folder deleted.
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:10.783995 deleteworker.go:74: http://dev.0chain.net:31302 /Second Folder deleted.
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:10.784814 commitworker.go:102: received a commit request
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:10.784813 commitworker.go:102: received a commit request
0box-sdk: [INFO] 2021/10/12 05:48:10.784859 commitworker.go:102: received a commit request
0box-sdk: [INFO] 2021/10/12 05:48:10.784914 commitworker.go:102: received a commit request
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.266665 commitworker.go:163: Allocation root from latest writemarker mismatch. Expected: ac7cfc6703ffb5e50fa8da51a44ebaa747e8efc4caa200d1d5c3b638dcbb9749 got: 6dc6bb68d69a5be5a188e316dfe7e08f49f48a4655d6a95fec5606090df32b2d
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.269443 commitworker.go:243: Committing to blobber.http://dev.0chain.net:31302
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.300432 commitworker.go:163: Allocation root from latest writemarker mismatch. Expected: 77edf8f48184362d65bbe00bfe50d17cdac4f422038ef74d05d11b17105227c2 got: d4f70374b966bf6d617035877a62d6a46eca977882b8e0f77911ea9fb6709a9b
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.302854 commitworker.go:243: Committing to blobber.http://dev.0chain.net:31306
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.377038 commitworker.go:163: Allocation root from latest writemarker mismatch. Expected: 4d7d08ac276b2948f436b23e02aedcf0c9ccf0f0c2cae4b03cd9a5650a676099 got: f3eaecf11599b2e09f3254a9de5f5649a46af1bdcbf22449a5e83a9f9b6020cd
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.378876 commitworker.go:243: Committing to blobber.http://dev.0chain.net:31304
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.470417 commitworker.go:163: Allocation root from latest writemarker mismatch. Expected: 1419cb33c7619cd14297a1df1673f460c8bf5cccbe5301a193cec1061866f0b0 got: b7463a72e9d9ddaf1eae2c4625b105d1c84bc1e893caf2378a4a704eed9fa5c2
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.474017 commitworker.go:243: Committing to blobber.http://dev.0chain.net:31305
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.601274 commitworker.go:251: http://dev.0chain.net:31306DYcWs2QvumbxtzYDWYPobV committed
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.612712 commitworker.go:251: http://dev.0chain.net:31302DYcWs2QvumbxtzYDWYPobV committed
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.749807 commitworker.go:251: http://dev.0chain.net:31305DYcWs2QvumbxtzYDWYPobV committed
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.887243 commitworker.go:251: http://dev.0chain.net:31304DYcWs2QvumbxtzYDWYPobV committed
E/GoLog: 0box-sdk: [INFO] 2021/10/12 05:48:11.888371 deleteworker.go:157: Commit successhttp://dev.0chain.net:31302
0box-sdk: [INFO] 2021/10/12 05:48:11.888581 deleteworker.go:157: Commit successhttp://dev.0chain.net:31304
0box-sdk: [INFO] 2021/10/12 05:48:11.888683 deleteworker.go:157: Commit successhttp://dev.0chain.net:31305
0box-sdk: [INFO] 2021/10/12 05:48:11.888764 deleteworker.go:157: Commit successhttp://dev.0chain.net:31306
12:53
I got below response when I call listDir (edited)
12:53
[{"name":"IMG-20211012-WA0000.jpg","path":"/IMG-20211012-WA0000.jpg","type":"f","size":247788,"hash":"366666303b44c964164153e105a712b9a13ff4524cb5f0262e4617d67c9f73e1","mimetype":"image/jpeg","num_blocks":4,"lookup_hash":"fc9d5a5b8886cce80f9ac8110f8cc50e2e24ada42c90d558a9fcb7718770595a","encryption_key":"","attributes":{},"actual_size":123894,"actual_num_blocks":1,"created_at":"2021-10-12T05:41:53.325123Z","updated_at":"2021-10-12T05:48:12.325183Z","list":null},{"name":"Second Folder","path":"/Second Folder","type":"d","size":8,"num_blocks":8,"lookup_hash":"76208c8a2bf9d4d43db3030100c7588727f8d8573a8b1450535a7d016fa30ddf","encryption_key":"","attributes":{},"actual_size":0,"actual_num_blocks":0,"created_at":"2021-10-12T05:47:39.958681Z","updated_at":"2021-10-12T05:47:39.958681Z","list":null}]
12:53
First Folder deleted but I requested to delete second Folder (edited)
The text was updated successfully, but these errors were encountered: