couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Carey <paul.p.ca...@gmail.com>
Subject Non deterministic winner when bulk saving with all_or_nothing:true
Date Fri, 22 May 2009 09:41:50 GMT
Hi

I can reproduce the following behaviour on 0.9.

1. Save a doc with property x:1 (after saving, the revision = 1-r)
2. Save again with property x:2 (after saving the revision = 2-r)
3. Save via bulk_docs with all_or_nothing:true, revision:1-r, and x:3
4. Load the doc. Half the time x = 2, the other half, x = 3.

This seems wrong to me, I believe x should always be 2. Should I file a bug?

Thanks

Paul

Mime
View raw message