Closed longfin closed 1 year ago
I've investigated in there and found some clues.
root@snapshot-partition-27707400-jl6sk:/data/headless/chain# ldb list_column_families --db="/data/headless/chain"
Column families in /data/headless/chain:
{default, b6f22104-f990-40d7-8f47-6f67f585b571}
MigrateChainDBFromColumnFamilies()
is assuming that there is more than one column family, it requires to migration. so it had tried to migrate.
But, it seemed that already had been migrated because there are indexed keys on the default
column famliy.
root@snapshot-partition-27707400-jl6sk:/data/headless/chain# ldb scan 0x49 --db="/data/headless/chain" --hex | less
0x43 : 0x0421F2B690F9D7408F476F67F585B571
0x49002EE8706E5C834387008F676612EC9A00000000004923EC : 0xB62BEB34E2506809014EDD480CA7FA4BBD5B3571B64D3E47DBDD8B813B28726F
0x49002EE8706E5C834387008F676612EC9A00000000004923ED : 0xDC72A573D2CC6FE64C17EA4D12DF779D5E8FD0367A474761C79B4D27F3090BF2
0x49002EE8706E5C834387008F676612EC9A00000000004923EE : 0x986DA01C6E4FFC388F997B64CCF209B649EE19F5CA3A0D29B810705B78E4DD7D
0x49002EE8706E5C834387008F676612EC9A00000000004923EF : 0x484AA6C4831E8EBD27E73278F4329C132367660CDC2B52F2DEBBAA3AF8B7EBEF
0x49002EE8706E5C834387008F676612EC9A00000000004923F0 :
Thus I suspect that there may be any possibility about remaining column family even after migration.
Temporarly solution.
root@snapshot-partition-27707400-jl6sk:/data/headless/chain# ldb list_column_families --db="/data/headless/chain"
Column families in /data/headless/chain:
{default, b6f22104-f990-40d7-8f47-6f67f585b571}
root@snapshot-partition-27707400-jl6sk:/data/headless/chain# ldb drop_column_family --db="/data/headless/chain" "b6f22104-f990-40d7-8f47-6f67f585b571"
OK
root@snapshot-partition-27707400-jl6sk:/data/headless/chain# ldb list_column_families --db="/data/headless/chain"
Column families in /data/headless/chain:
{default}
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.