bonsaidb icon indicating copy to clipboard operation
bonsaidb copied to clipboard

Implement quorum-based clustering

Open ecton opened this issue 3 years ago • 1 comments

ecton avatar Nov 23 '21 01:11 ecton

A timely post by Martin Fowler on Two Phase Commit with explanations of several conflict resolution approaches.

I think BonsaiDb's approach can be quite simple due to transactions being performed in a single step. I have been trying to decide if there is a possibility for a deadlock pattern to arise given the current design. If there is, I believe either wound-wait or wait-die strategies would work for resolving it.

ecton avatar Jan 22 '22 04:01 ecton