mongo3.4 "Cannot truncate a live oplog while replicating: local.oplog.rs"

Bug #1749078 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia
2.3
Fix Released
High
John A Meinel

Bug Description

Part of our mongo 3.4 compatibility. Part of our test suite cleans up the databases, and seems to be trying to truncate the oplog. Which apparently was ok in Mongo 3.2 but is not ok in Mongo 3.4.

You can see this failure by having mongodb 3.4 available, and doing something like:

export JUJU_MONGOD=$PATH/TO/3.4/bin/mongod
cd $GOPATH/github.com/juju/juju/featuretests
go test --check.v --check.f debugLogDb

(one of the first tests that seems to trigger this, I need to investigate why.)

Tags: mongodb
John A Meinel (jameinel)
Changed in juju:
assignee: Eric Claude Jones (ecjones) → John A Meinel (jameinel)
John A Meinel (jameinel)
Changed in juju:
milestone: none → 2.4-beta1
Revision history for this message
John A Meinel (jameinel) wrote :
Revision history for this message
John A Meinel (jameinel) wrote :
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Forward port to develop, 2.4: https://github.com/juju/juju/pull/8370

Changed in juju:
status: Triaged → In Progress
assignee: John A Meinel (jameinel) → Anastasia (anastasia-macmood)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.