asssertion failed [fileRev] at ep-engine/src/couch-kvstore/couch-kvstore.cc:1823

Description

Pre-analysis shows that persistence engine was requested to store a document, and internal table had a file revision of 0 to relevant vbucket.
This is clearly violation of invariant, since fileRev in data/$bucket/$vbid.couch.$fileRev is numbered with 1 and is ever-growing.

On a first glance, invariant is carefully maintained.
Yet it somehow got violated in our setup.

Components

Affects versions

Fix versions

Labels

Environment

couchbase-server-3.0.1-1444.x86_64 Red Hat Enterprise Linux Server release 6.5 (Santiago) happened during rebalance.

Link to Log File, atop/blg, CBCollectInfo, Core dump

Clearly understand that the info is not enough. Can not provide core dump or other dumps, circumstances do not allow it.

Release Notes Description

None

blocks

relates to

Activity

Show:

Alexander Petrossian (PAF) September 15, 2015 at 11:50 AM

see that bug did go into 3.1.0, see it in hash, mentioned in manifest:
https://github.com/couchbase/ep-engine/blob/1d4d91d16373c3e11e6130a282a0a3a9a4b5308b/src/couch-kvstore/couch-kvstore.cc#L528

cancel all questions
thanks for your patience.
Please consider listing this amongst fixed on relnotes page

Alexander Petrossian (PAF) September 15, 2015 at 11:41 AM

Oh, I see it's lower now:
https://github.com/couchbase/manifest/blob/master/released/3.1.0.xml
And this issue is listed/linked in
https://couchbasecloud.atlassian.net/browse/MB-14772
so probably it made it through.
And then just relnotes are incomplete..

Alexander Petrossian (PAF) September 15, 2015 at 11:36 AM

I did try to check "the old way" by looking at manifest file here...
https://github.com/couchbase/manifest
...but I don't see 3.1.0 manifest there.

Things have changed?

Alexander Petrossian (PAF) September 15, 2015 at 11:35 AM

Friends, thanks for fixing this.
Question: 3.1.0 relnotes here: http://docs.couchbase.com/admin/admin/rel-notes/rel-notes3.0.html
Do not this bug among those fixed.
Do we take it that it made it to 3.1.0 binary?

Manu Dhundi August 30, 2015 at 8:31 PM

This is potentially present in any Linux build

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Sprint

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 14, 2015 at 8:57 AM
Updated November 21, 2016 at 9:30 AM
Resolved April 29, 2015 at 5:42 PM
Instabug