[cockroach] rocksdb assertion failure (#352)

37 views
Skip to first unread message

Peter Mattis

unread,
Feb 24, 2015, 4:26:33 PM2/24/15
to cockroachdb/cockroach

RocksDB is compiled with assertions off (-DNDEBUG). If you compile with assertions on then one triggers in column_family.cc:325: is_last_reference when running the TestSnapshotMethods test in storage/engine. Bug in our test? Bug in rocksdb?


Reply to this email directly or view it on GitHub.

Tobias Schottdorf

unread,
Feb 28, 2015, 7:30:54 AM2/28/15
to cockroachdb/cockroach

I think I may have just run into this rather randomly, at least I didn't add -DNDEBUG:

https://circleci.com/gh/tschottdorf/cockroach/349

Tobias Schottdorf

unread,
Feb 28, 2015, 7:32:21 AM2/28/15
to cockroachdb/cockroach

Note all the "[ERROR] Error when reading /tmp/data_1425125833457636721 dir", are those normal?

Peter Mattis

unread,
Feb 28, 2015, 8:25:08 AM2/28/15
to cockroachdb/cockroach

I don't recall seeing those errors, but you also have the assertion failure and the same test is failing (TestSnapshotMethods):

engine.test: db/column_family.cc:334: rocksdb::ColumnFamilyData::~ColumnFamilyData(): Assertion `is_last_reference' failed

I'll look into this more on Monday. How did rocksdb get built without NDEBUG being set?

Peter Mattis

unread,
Mar 2, 2015, 11:15:27 AM3/2/15
to cockroachdb/cockroach

Closed #352 via #363.

Reply all
Reply to author
Forward
0 new messages