[SERVER-25469] bench_test_crud_commands.js attempts to perform journaled writes against a mongod without journaling enabled Created: 07/Aug/16  Updated: 13/Aug/16  Resolved: 08/Aug/16

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: 3.3.10
Fix Version/s: 3.3.11

Type: Bug Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-25035 fix malformed write concern documents... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

python buildscripts/resmoke.py --executor=no_passthrough_with_mongod jstests/noPassthroughWithMongod/bench_test_crud_commands.js --nojournal

Output

[js_test:bench_test_crud_commands] 2016-08-06T22:15:11.582-0400 2016-08-06T22:15:11.580-0400 E QUERY    [thread1] Error: 0 is not greater than 0 : undefined :
[js_test:bench_test_crud_commands] 2016-08-06T22:15:11.582-0400 doassert@src/mongo/shell/assert.js:15:14
[js_test:bench_test_crud_commands] 2016-08-06T22:15:11.582-0400 assert.gt@src/mongo/shell/assert.js:314:5
[js_test:bench_test_crud_commands] 2016-08-06T22:15:11.582-0400 testInsert@jstests/noPassthroughWithMongod/bench_test_crud_commands.js:43:1
[js_test:bench_test_crud_commands] 2016-08-06T22:15:11.582-0400 testWriteConcern@jstests/noPassthroughWithMongod/bench_test_crud_commands.js:85:9
[js_test:bench_test_crud_commands] 2016-08-06T22:15:11.582-0400 @jstests/noPassthroughWithMongod/bench_test_crud_commands.js:89:5
[js_test:bench_test_crud_commands] 2016-08-06T22:15:11.583-0400 @jstests/noPassthroughWithMongod/bench_test_crud_commands.js:2:2
[js_test:bench_test_crud_commands] 2016-08-06T22:15:11.583-0400 failed to load: jstests/noPassthroughWithMongod/bench_test_crud_commands.js

Sprint: Query 2016-08-29
Participants:
Linked BF Score: 0

 Description   

The write concern specified in the different test cases of bench_test_crud_commands.js were fixed as part of SERVER-25035. The test consistently fails when run against a mongod started with --nojournal, --storageEngine=ephemeralForTest, or --storageEngine=inMemory now that the intended write concern is being respected because none of the j=true inserts will succeed.



 Comments   
Comment by Githook User [ 08/Aug/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-25469 Only perf test journaled inserts if supported by server.
Branch: master
https://github.com/mongodb/mongo/commit/e4fcbcf49f07f6b6958cfbd6fc947f57000f626a

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