[SERVER-1671] pair1 test failing Created: 24/Aug/10  Updated: 12/Jul/16  Resolved: 25/Aug/10

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

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Dwight Merriman
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Comments   
Comment by auto [ 19/Nov/10 ]

Author:

{'login': '', 'name': 'dwight', 'email': 'dwight@dwights-MacBook-Pro.local'}

Message: SERVER-1671 pair1.js failing
/mongodb/mongo/commit/94559a6985f6b6bb3875da1bc366a299601415cb

Comment by auto [ 25/Aug/10 ]

Author:

{'login': '', 'name': 'dwight', 'email': 'dwight@dwights-MacBook-Pro.local'}

Message: SERVER-1671 pair1.js failing
http://github.com/mongodb/mongo/commit/4e7a761d16b9c802fa42a7f768ca5f19cb07a69c

Comment by Dwight Merriman [ 25/Aug/10 ]

will fix tomorrow thanks

Comment by Aaron Staple [ 24/Aug/10 ]

It looks like the fundamental issue is this:

catch ( GetMoreWaitException& )

{ exhaust = false; massert(13073, "shutting down", !inShutdown() ); pass++; DEV sleepmillis(20); else sleepmillis(2); continue; }

The heartbeat ops are being inserted 10sec apart, and with a dev build this is less than the timeout for QueryOption_AwaitData. As a result, a slave thread will loop forever in sync_pullOpLog() and therefore the roles of the replica pair nodes are never assigned.

I reproduced with a dev build on my machine and verified that the test passed successfully when I disabled QueryOption_AwaitData.

Generated at Thu Feb 08 02:57:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.