You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found a data-compaction issue which is reproduced in following the procedure, and according to the diagnose's result, I've recognized the children and the grandchildren exist in each containers that means the data-compaction only removed a parent object and metadata.
PUT objects then overwrite the same them
$ leofs-adm whereis test/file_1GB
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
del?| node | ring address | size | checksum | has children | total chunks | clock | when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
| storage_3@127.0.0.1 | 85c5acd90c3210b6be4431d6aa96ef11 | 1000000K | 5bef54c33c |true| 66 | 56882ad6673d1 | 2018-03-29 10:02:27 +0900
| storage_2@127.0.0.1 | 85c5acd90c3210b6be4431d6aa96ef11 | 1000000K | 5bef54c33c |true| 66 | 56882ad6673d1 | 2018-03-29 10:02:27 +0900
$ leofs-adm whereis test/file
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
del?| node | ring address | size | checksum | has children | total chunks | clock | when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
| storage_1@127.0.0.1 | e3ceef8518d28d8a8e704a4ff00c0ef1 | 100000K | 28e2320f78 |true| 7 | 56882ab42c92c | 2018-03-29 10:01:51 +0900
| storage_3@127.0.0.1 | e3ceef8518d28d8a8e704a4ff00c0ef1 | 100000K | 28e2320f78 |true| 7 | 56882ab42c92c | 2018-03-29 10:01:51 +0900
## Execute data-compaction
$ leofs-adm compact-start storage_0@127.0.0.1 all
$ leofs-adm compact-start storage_1@127.0.0.1 all
$ leofs-adm compact-start storage_2@127.0.0.1 all
$ leofs-adm compact-start storage_3@127.0.0.1 all
## After data-compaction
$ leofs-adm whereis test/file
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
del?| node | ring address | size | checksum | has children | total chunks | clock | when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
| storage_1@127.0.0.1 |||||||| storage_3@127.0.0.1 |||||||
$ leofs-adm whereis test/file_1GB
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
del?| node | ring address | size | checksum | has children | total chunks | clock | when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
| storage_3@127.0.0.1 |||||||| storage_2@127.0.0.1 |||||||## Execute data-diagnosis
$ leo-adm diagnose-start storage_0@127.0.0.1
OK
I've found a data-compaction issue which is reproduced in following the procedure, and according to the diagnose's result, I've recognized the children and the grandchildren exist in each containers that means the data-compaction only removed a parent object and metadata.
PUT objects then overwrite the same them
Diagnose's Result:
The text was updated successfully, but these errors were encountered: