News for hackers. Stuff that matters.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by freetard on Sunday August 08, 2010 @09:27PM (#1586695)
I hope next time Damien will think twice before insulting other databases for having similar issues:

https://twitter.com/damienkatz/status/15444148375

Re:CouchDB Notice for 1.0.1 - Potential Data Loss by StavrosK on Sunday August 08, 2010 @09:43PM (#1586724)
As I saw the tweet I became uneasy, followed the link and, sure enough, it's my post he's referencing. That's a bit disconcerting, I feel responsible for trashing MongoDB all over the internet. At least my conscience is lighter because everything I wrote was true...
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by pierrefar on Monday August 09, 2010 @04:20AM (#1587354)
For pete's sake, for the last time: you were using 1.3.3 which is UNstable and not production ready. Its developers know it's likely to have problems and you proved them right. What you wrote was not "true". You found a bug in beta software.

This instance of CouchDB data corruption is in a production-ready version, aka a stable version. No doubt eventually MongoDB will hit a similar issue and then we'll all calm down and stop poo-pooing all the hard work everyone is putting in building these databases.

Re:CouchDB Notice for 1.0.1 - Potential Data Loss by StavrosK on Monday August 09, 2010 @07:06AM (#1587607)
For the zillionth time: I moved to 1.4.0 after 1.3.3, and there was data loss on the stable version too. Seriously, what's up with everyone's reading comprehension?
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by pierrefar on Monday August 09, 2010 @08:11AM (#1587718)
My understanding is that you stopped using MongoDB and started using SQLite. To me, that means that you are probably not a Linux or Mac or Windows user because they all can crash and lose your data. Likewise you are not a user of any office suite because you've likely to lose data from all of them. Likewise, even ISPs can disconnect you half-way through a transaction (say buying something or editing a blog post) and so you will stop using them because of that.

So good luck with historious. I think it's an interesting idea, but by your logic I shouldn't try it in case it crashes and loses my bookmarking data.

Re:CouchDB Notice for 1.0.1 - Potential Data Loss by StavrosK on Monday August 09, 2010 @06:54PM (#1589756)
I'm pretty sure that my wariness of losing data would mean that I'm... uh... less likely to lose data? Besides, SQLite is amazing.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by freetard on Sunday August 08, 2010 @09:53PM (#1586746)
Yes, it was true that the 32bit version of mongodb that is limited to 2gb would lose your data if you injected more than 2gb in it, shame on mongodb...
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by StavrosK on Sunday August 08, 2010 @09:55PM (#1586754)
Jesus, I can't believe people still defend this shit. I don't care if MongoDB can store ten jiggerbytes, it should give an error when you're trying to insert more than that. When the hell did corrupting your data become acceptable for a datastore?
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by i386 on Sunday August 08, 2010 @10:11PM (#1586791)
Simple guide to keep your integrity in the software business: don't crap on other peoples products and admit your own mistakes.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by StavrosK on Monday August 09, 2010 @07:11AM (#1587616)
I'm confused, are you talking about me or MongoDB? If you're talking about me, I don't think I made a mistake, and if you're talking about MongoDB, the guys on IRC were very civil about it and did say that silently corrupting data was the wrong way to go about it.

It's these apologists who are giving MongoDB a bad name, really, because the guys on IRC were nothing but helpful about it.

Re:CouchDB Notice for 1.0.1 - Potential Data Loss by i386 on Monday August 09, 2010 @07:51AM (#1587686)
Sorry, this should have posted this under the Katz tweet link. My bad.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by StavrosK on Monday August 09, 2010 @06:54PM (#1589759)
Oh, that makes sense then, thanks for clarifying...
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by freetard on Sunday August 08, 2010 @09:59PM (#1586762)
The 32bit version is available for convenience, nobody uses it in prod. You can't complain that a simple testing tool limited to 2gb can't store more than 2gb.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by StavrosK on Sunday August 08, 2010 @10:05PM (#1586773)
When did I complain it couldn't store more than 2 GB? I complained because it silently corrupted my data.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by freetard on Sunday August 08, 2010 @10:08PM (#1586782)
You used a dev version of a tool that is not meant to be ran in production or for any serious task and then complained it didn't work with your attempt. As this bug is not present in the real prod version of mongodb, it doesn't make sense to criticize mongodb for it. Also next time RTFM before using a tool you don't know much about.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by InclinedPlane on Sunday August 08, 2010 @10:30PM (#1586819)
I feel this is a justifiable defense, if you use a pre-release version of anything you should recognize that you are taking a risk.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by StavrosK on Monday August 09, 2010 @07:10AM (#1587614)
The 32-bit stable versions have the same behaviour, and the MongoDB guys on IRC did admit that data corruption is not a very elegant way to handle it.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by rb2k_ on Monday August 09, 2010 @04:04AM (#1587331)
unless you run on EC2 and don't need a large instance (which is where 64 bit starts)
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by mattculbreth on Sunday August 08, 2010 @09:37PM (#1586715)
Good find--I was going to look for it myself.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by jchrisa on Sunday August 08, 2010 @10:32PM (#1586825)
fwiw, the only error Damien made was failing to review some patches other people wrote. Also, this issues is much less serious than the Mongo problems as it's A) localized and B) fixed. Eg it's a bug not a design decision.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by danlynch17 on Sunday August 08, 2010 @10:44PM (#1586845)
Errors: - not reviewing - poor testing procedures - new code in 1.0.0????

Why your claim that its not as bad as mongo is crazy and self serving: - poor code quality is MUCH worse than a design you don't agree with. how could anyone trust couch? at least mongo is upfront about their design decisions, whether you agree or not - the couch team has gone on and on recently about how unreliable mongo is, and yet here is this... - there were a number of unanswered questions on mikeal's blog - sadly he took them down - probably because he didn't like them. maybe his couch db lost the data and he couldn't figure out why...

Also - really nice job attacking mongo while you guys have a MAJOR bug... classy and proessional...

Another funny thing - how long has 1.0.0 been out? 3 week or so? and this was just found? so what, there are like 10 people using couch in production?

And i'm sure this will be down-voted by the couch fan boys - but this ridiculousness has to be addressed.

Re:CouchDB Notice for 1.0.1 - Potential Data Loss by swannodette on Monday August 09, 2010 @12:02AM (#1586967)
Pure trolling. New user. Jabs at MongoDB aside, CouchDB has acted quickly and professionally to the kind of rare unfortunate critical bugs that can (and do) happen to software projects. This quality of response creates trust, not diminish it. Shit happens. What matters is that you admit the mistake and fix it as quickly and publicly as possible. Props to CouchDB.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by jchrisa on Monday August 09, 2010 @01:02AM (#1587058)
The reason the bug took so long to surface is that it is only triggered by an edge case. Most users will not experience issues. After two reports of missing data, the whole team focussed on getting to the bottom of it. This is because we take data integrity seriously.
Re:CouchDB Notice for 1.0.1 - Potential Data Loss by tbrownaw on Sunday August 08, 2010 @11:49PM (#1586945)
> And i'm sure this will be down-voted by the couch fan boys - but this ridiculousness has to be addressed.

Or maybe you'll get down-voted for trying to play psychological games on the voters...

Re:CouchDB Notice for 1.0.1 - Potential Data Loss by isaacforce on Monday August 09, 2010 @05:16AM (#1587435)
I don't believe the emergence of a single bug tarnishes an entire codebase and labels it as poor quality. This situation seems like a lapse of judgement in process, which they've fessed to and provided a path to correction for.