delete messages from device_inbox table when deleting device#10098
delete messages from device_inbox table when deleting device#10098JohannesKleine wants to merge 7 commits intomatrix-org:developfrom
Conversation
|
#9346 is also related |
| desc="delete_device", | ||
| ) | ||
|
|
||
| await self.db_pool.simple_delete_one( |
There was a problem hiding this comment.
| await self.db_pool.simple_delete_one( | |
| await self.db_pool.simple_delete_many( |
Since the table may have many rows (or no rows)
|
Hey @JohannesKleine, are you able to implement the remaining work on this feature? |
|
Fixes #3599 |
|
Just removed the background update related things. |
|
I had continued to work on it and also added unit tests. #10969 |
|
Saw it (still working on understand your things), left you some input, but this here was unfinished business. If this small change gets merged and my other pull request it could help to keep the db clean until the background job is finished. |
|
The queries are in one transaction: #10969 (comment) |
|
Oh, does #10969 make this PR redundant? |
Yes. IMO this is done already. |
|
Then I'll close it. Thanks both! |
Fixes #3599
Pull Request Checklist
EventStoretoEventWorkerStore.".code blocks.