mongodb/mongo-ruby-driver — pull request #134 by nelhage (2012-11-18 21:50:15+00:00)
Title: Add a failing test case around cursors and secondary reads.

If we do a secondary read that is large enough to require sending a
GETMORE, and then do another query before the GETMORE, the secondary
connection gets unpinned, and the GETMORE gets sent to the wrong
server, resulting in CURSOR_NOT_FOUND, even though the cursor still
exists on the server that was initially queried.

(I don't know if there is a way to mark a test that is expected to fail for now; I expect this shouldn't be merged as-is, but a pull request seemed like the right way to submit this, since I'd like to see some sort of test merged once the bug is fixed)