> As expected, if both BDS are running on the same IOThread (and thus, > the same AioContext), the problem is not reproducible. > > In a general sense, we could say that completion modes other than > "individual" are not supported for a transaction that may access > different AioContexts. I don't see a safe an easy way to fix this. We > could opt for simply detect and forbid such completion modes when the > BDS's are assigned to different AioContexts. Perhaps Kevin (in CC) has > a better idea.
So the solution is to disable backups when using io-threads?