You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2020/09/28 03:54:48 UTC
[GitHub] [james-project] chibenwa edited a comment on pull request #248: [ADR] Applicative read repairs (POC mailbox & mailbox-counters)
chibenwa edited a comment on pull request #248:
URL: https://github.com/apache/james-project/pull/248#issuecomment-699746039
> so it has the same constraints than hand-made projection, so why do we use them for simple cases?
Not really.
You write to the table A and the write returns, then (maybe?) table B will be updated, outside of your applicative transaction.
This would lead to much headaches.
With manual replication, you write to A then to B, then you return the applicative transaction. (Wich means we can directly read, for sure, data from table B)
I t could really be acceptable for some use cases, but maybe not the mailbox... Imagine IMAPSync trying to append data to a half existing mailbox... Not a risk I wonna take.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org