[SERVER-36792] Error enableMajorityReadConcern is undefined. Created: 21/Aug/18  Updated: 08/Oct/18  Resolved: 08/Oct/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.6.7
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Jason R. Coombs Assignee: Kelsey Schubert
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-37227 Reintroduce enableMajorityReadConcern... Closed
Operating System: ALL
Participants:

 Description   

Looking at https://travis-ci.org/jaraco/jaraco.mongodb/jobs/418778682, I see an emergent error with 3.6.7rc0. With 3.6.5, the tests ran without error, but in 3.6.7.rc0, they fail to run with this error:
 
2018-08-21T16:20:05.214+0000 E QUERY [thread1] TypeError: jsTest.options(...).enableMajorityReadConcern is undefined :
 
The tests are invoked by running `mongo tests/oplog.js` from a checkout of the jaraco.mongodb repo.
 
Probably the repo steps could be distilled, but I wanted to first report this in case it's a known condition of the rc0 build.
 
I searched for the error but didn't find anything relevant.



 Comments   
Comment by Kaloian Manassiev [ 06/Oct/18 ]

Backports to 4.0 and 3.6 have been completed.

Comment by Tess Avitabile (Inactive) [ 05/Oct/18 ]

This will be fixed by this commit, which kaloian.manassiev is going to backport to 4.0 and 3.6.

Comment by Jason R. Coombs [ 05/Oct/18 ]

This issue has expanded to include the MongoDB 4.0 instances.

 

Comment by Jason R. Coombs [ 21/Aug/18 ]

That Travis link seems to be broken; not sure what happened there. Perhaps this one will remain stable: https://travis-ci.org/jaraco/jaraco.mongodb/builds/418778671.

Comment by Jason R. Coombs [ 21/Aug/18 ]

I should also mention, I used MONGODB_VERSION=3.6 in that run.

Comment by Jason R. Coombs [ 21/Aug/18 ]

Note, I'm using http://downloads.mongodb.org/linux/mongodb-linux-x86_64-v$MONGODB_VERSION-latest.tgz as the binary to run the tests. I would have expected that to be a 3.6.7 final and not rc0. Is there a better URL to use to get the latest stable release for a given MongoDB binary?

Generated at Thu Feb 08 04:44:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.