Closed tuhalf closed 1 year ago
@tuhalf specifically this issue was fixed in the last version:
** (exit) an exception was raised:
** (FunctionClauseError) no function clause matching in Chain.Block.state/1
(Elixir.Diode 1.0.3) lib/chain/block.ex:41: Chain.Block.state(nil)
(Elixir.Diode 1.0.3) lib/model/chainsql.ex:523: Model.ChainSql.prepare_state/1
(Elixir.Diode 1.0.3) lib/model/chainsql.ex:254: Model.ChainSql.do_put_new_block/2
(Elixir.Diode 1.0.3) lib/model/chainsql.ex:124: Model.ChainSql.Writer.write/1
(Elixir.Diode 1.0.3) lib/model/chainsql.ex:98: Model.ChainSql.Writer.handle_cast/2
(stdlib 3.17.1) gen_server.erl:695: :gen_server.try_dispatch/4
(stdlib 3.17.1) gen_server.erl:771: :gen_server.handle_msg/6
(stdlib 3.17.1) proc_lib.erl:226: :proc_li
So a new sync should work now -- that said I don't think there is really way to fix an old database that has data holes...
My server was running for a long time. It stoped when I ran out of disk space. I extended the disk and now it's stuck syncing blocks. It starts extending from 4610000 and goes to 4620000 but then turns back to 4610000. It's stuck in that block. While extending, it's printing out extended alt messages multiple times.
And constantly printing out this error:
What might be the problem?