On Mon, May 4, 2015 at 12:35 PM, Matthew Horsfall (alh) <wolfs...@gmail.com>
wrote:

> However when I manually downloaded and ran 3.0.2, it started triggering.
> (There is a different codepath (the first try block) in
> MongoDB::Collection::get_indexes that gets run with 3.0.2 that seems
> necessary for this bug to manifest.)
>

My repro efforts are here:
https://github.com/dagolden/zzz-repro-test-stream-mongodb-bug

It does require a MongoDB 3.0.2 server for this particular command.

I haven't tried other commands that might return similarly structured data.

Some of my attempts to mock the DB return or extract the DB result directly
without using the Cursor code didn't repro, at least within my patience to
run the test code in a tight loop four times in parallel for many minutes.

It also seems related to the use of Try::Tiny as replacing that with an
eval didn't repro.

David

-- 
David Golden <x...@xdg.me> Twitter/IRC: @xdg

Reply via email to