Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
eloff
· 12y ago · 0 comments
Sounds like somebody used an eventually consistent nosql database to handle monetary transactions and discovered why that's a bad idea...
Comments
[–]
ephemeralgomi
12y ago
Sounds more like he forgot to wrap multiple mutually dependent queries in a transaction. It doesn't require advanced technology to make a mistake.
[–]
MrBuddyCasino
12y ago
To me it sounded like a pretty stupid race condition. Anyway, at least they reacted better than MtGox.
[–]
nobodysfool
12y ago
Their supposed fix doesn't seem like it would address the problem anyway. They should use optimistic locking.
edit: optimistic
[–]
yaur
12y ago
And also skipped on testing that basic business rules can't be trivially violated.