chain-indexing icon indicating copy to clipboard operation
chain-indexing copied to clipboard

Problem: Event and projection handling is not idempotent

Open calvinaco opened this issue 5 years ago • 3 comments

Right now we are relying the DB transaction to achieve the ordering. Idempotent is a good requirement of the system

calvinaco avatar Nov 26 '20 06:11 calvinaco

if exist, update, it not exist, insert?

leejw51crypto avatar Nov 27 '20 02:11 leejw51crypto

if exist, update, it not exist, insert?

Yes. This seems to be the most straight forward solution.

devashishdxt avatar Nov 27 '20 02:11 devashishdxt

FYI: http://stackoverflow.com/q/17267417/398670

tomtau avatar Nov 27 '20 02:11 tomtau