The WalletDB keeps a reference to the Data tip and builds future Datas off of it. That said, the Data tip will have been deleted from the Transactions DAG if a Block hasn't caused the DB TX to be committed. If it's not mined, meaning it's not sent back to the node later, any future Datas will raise a ValueError for trying to be based off a non-existent Data.
The WalletDB needs to actually keep a copy of Datas and be ready to re-submit them to fix this.
The WalletDB keeps a reference to the Data tip and builds future Datas off of it. That said, the Data tip will have been deleted from the Transactions DAG if a Block hasn't caused the DB TX to be committed. If it's not mined, meaning it's not sent back to the node later, any future Datas will raise a ValueError for trying to be based off a non-existent Data.
The WalletDB needs to actually keep a copy of Datas and be ready to re-submit them to fix this.