[SERVER-10629] buildbot auth.js fails on win32 Created: 27/Aug/13  Updated: 10/Dec/14  Resolved: 17/Dec/13

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

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Matt Kangas
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Win32


Issue Links:
Related
related to SERVER-10639 trace_missing_docs_tests.js fails on ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Seems like the auth.js test fails when inserting many documents:

 m31200| 2013-08-27T13:24:25.226+0000 [conn17] moveChunk data transfer progress: { active: true, ns: "test.foo", from: "d2/EC2AMAZ-EXWX6MN:31200,EC2AMAZ-EXWX6MN:31201,EC2AMAZ-EXWX6MN:31202", min: { x: 37478.0 }, max: { x: 49049.0 }, shardKeyPattern: { x: 1.0 }, state: "clone", counts: { cloned: 133, clonedBytes: 12901, catchup: 0, steady: 0 }, ok: 1.0 } my mem used: 0
assert failed : Number of docs found does not equal the number inserted. Missing docs: 37479
Error: Printing Stack Trace
    at printStackTrace (src/mongo/shell/utils.js:37:15)
    at doassert (src/mongo/shell/assert.js:6:5)
    at assert (src/mongo/shell/assert.js:14:5)
    at D:\slave\Windows_32bit\mongo\jstests\sharding\auth.js:202:5
2013-08-27T13:24:25.242+0000 assert failed : Number of docs found does not equal the number inserted. Missing docs: 37479 at src/mongo/shell/assert.js:7
failed to load: D:\slave\Windows_32bit\mongo\jstests\sharding\auth.js

This is suspicious, since we had lots of WBLs going on during this blocking autosplit/migrate:

 m31100| 2013-08-27T13:23:02.905+0000 [conn26] command admin.$cmd command: { moveChunk: "test.foo", from: "d1/EC2AMAZ-EXWX6MN:31100,EC2AMAZ-EXWX6MN
:31101,EC2AMAZ-EXWX6MN:31102", to: "d2/EC2AMAZ-EXWX6MN:31200,EC2AMAZ-EXWX6MN:31201,EC2AMAZ-EXWX6MN:31202", fromShard: "d1", toShard: "d2", min: { x
: 37478.0 }, max: { x: MaxKey }, maxChunkSizeBytes: 1048576, shardId: "test.foo-x_37478.0", configdb: "EC2AMAZ-EXWX6MN:29000", secondaryThrottle: f
alse, waitForDelete: false } ntoreturn:1 keyUpdates:0 locks(micros) W:69 r:136 w:43 reslen:37 1177ms

http://buildlogs.mongodb.org/Windows%2032-bit/builds/6160/test/sharding/auth.js



 Comments   
Comment by Daniel Pasette (Inactive) [ 05/Oct/13 ]

Just saw this on 2.4.7-pre.
http://buildbot.mongodb.org/builders/V2.4%20Windows%2032-bit/builds/241/steps/mongosTest_smokeSharding/logs/stdio

And here:
http://buildbot.mongodb.org/builders/V2.4%20Windows%2032-bit/builds/222/steps/mongosTest_smokeSharding/logs/stdio

Comment by Greg Studer [ 26/Sep/13 ]

Created custom script to catch this error, but has not happened again.

Comment by auto [ 27/Aug/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10629 auth.js better tracing for missing docs using oplog
Branch: master
https://github.com/mongodb/mongo/commit/b54527bc9379c8d3c73ea78906b90cf6a87032ea

Generated at Thu Feb 08 03:23:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.