MongoDB Races, Locks, and Transactions

Aram Hăvărneanu aram.havarneanu at canonical.com
Tue Jul 3 16:47:58 UTC 2012


> Is anyone still with me? :-)

Yes. I like your proposal. Docs store data about their state and
methods use that state explicitly instead of relying on some invisible
transactional mechanism. This makes the code simpler to reason about,
and more straightforward to read and write. The changes to mstate are
small and isolated. I expect implementing your proposal in mstate would
take no time and would cause no problems along the way.

I'm sorry I don't have anything more constructive to say, that's because
I see nothing wrong with your proposal so there's nothing for me to
complain about ;-).

--
Aram Hăvărneanu



More information about the Juju-dev mailing list