News for hackers. Stuff that matters.
Re:Migrating Messenger storage to optimize performance by Zaheer on Tuesday June 26, 2018 @07:30PM (#17404746)
During the dual-write phase, what happens if one request succeeds while the other doesn't?
Re:Migrating Messenger storage to optimize performance by tagx on Wednesday June 27, 2018 @12:28AM (#17405756)
Iris retries the failed request
Re:Migrating Messenger storage to optimize performance by Zaheer on Wednesday June 27, 2018 @01:21AM (#17405955)
Can't you potentially land into an inconsistent state if the failed request keeps on failing while the other db request succeeds? Is the dual-write on the synchronous request path? I'm assuming there's a timeout or some fixed number of retries that occurs and once that is exhausted what would happen?