[SERVER-1304] Investigate why ./jstests/sharding/findandmodify1.js fails occasionally Created: 25/Jun/10  Updated: 12/Jul/16  Resolved: 21/Jul/10

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

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

Attachments: Text File OS_X_32bit.txt     HTML File findandmodify1_js.log.htm     HTML File findandmodify1_js.log1.htm    
Operating System: ALL
Participants:

 Comments   
Comment by Alberto Lerner [ 20/Jul/10 ]

Test passed in Linux 64, which was consistently failing.

Will leave open and observe if it occurs again.

Comment by auto [ 20/Jul/10 ]

Author:

{'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}

Message: SERVER-1304 Avoid interference from the Balancer
http://github.com/mongodb/mongo/commit/d24fe4ca576ff6b744f179bf10c89068cb5dcda0

Comment by Alberto Lerner [ 20/Jul/10 ]

I'm taking the balancer out of the equation here by pre-splitting the empty collection and moving one of the chunks of. The insertion and further splitting should not cause any imbalance.

I'm also cranking the comment level to 2 so to get more info, just in case.

Comment by Eliot Horowitz (Inactive) [ 20/Jul/10 ]

Happened again.

I think the current issue is a race condition between the balancer and the script.

If the balancer starts a moveChunk, then the script tries as well and correctly fails.

Comment by Alberto Lerner [ 16/Jul/10 ]

In observation. Several related fixes were done.

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