For the full-client the account cycle should be one of these
WalletRecover (deprecated, to be removed later)
WalletCreateSession
AccountSelect
or
WalletCreate
WalletCreateSession
AccountCreate.
Currently it was a bug that accountSelect was called twice, like this
WalletRecover
AccountSelect
WalletCreateSession
AccountSelect
This resulted in the second AccountSelect being hanging and waiting for the lock of the first accountSelect. After first accountSelect finishes, the second returns success without ding any work under the hood.
But in case of problems, e.g. when AccountSelect was unsuccessful, the second accountSelect actually was starting it over again.
Also, in the last changes in mw we introduced account-start cancelation https://github.com/anyproto/anytype-heart/pull/1050. So this error becomes even more critical
For the full-client the account cycle should be one of these
or
Currently it was a bug that accountSelect was called twice, like this
This resulted in the second AccountSelect being hanging and waiting for the lock of the first accountSelect. After first accountSelect finishes, the second returns success without ding any work under the hood. But in case of problems, e.g. when AccountSelect was unsuccessful, the second accountSelect actually was starting it over again. Also, in the last changes in mw we introduced account-start cancelation https://github.com/anyproto/anytype-heart/pull/1050. So this error becomes even more critical