Execute a query
Execute a getmore – server fails (socket failure, whatever)
mongoc_cursor_next() returns no doc
Call mongoc_cursor_destroy() to free the cursor.
Triggers mongoc_client_kill_cursor()
Triggers Server Selection
Waits 30seconds.
Server Selection fails.
[2015-05-18T20:40:09+00:00] cursor: TRACE > ENTRY: mongoc_cursor_destroy():324 [2015-05-18T20:40:09+00:00] cursor: TRACE > ENTRY: _mongoc_cursor_destroy():340 [2015-05-18T20:40:09+00:00] client: TRACE > ENTRY: mongoc_client_kill_cursor():1295 [2015-05-18T20:40:09+00:00] cluster: TRACE > ENTRY: mongoc_cluster_select():1584 [2015-05-18T20:40:09+00:00] cluster: TRACE > ENTRY: _mongoc_cluster_select_by_optype():1436 [2015-05-18T20:40:09+00:00] mongoc: TRACE > ENTRY: mongoc_topology_description_select():439 [2015-05-18T20:40:09+00:00] mongoc: TRACE > EXIT: mongoc_topology_description_select():453 [2015-05-18T20:40:10+00:00] stream: TRACE > ENTRY: mongoc_stream_writev():143 [2015-05-18T20:40:10+00:00] stream: TRACE > writev = 0x7f2bf9061780 [58] [2015-05-18T20:40:10+00:00] stream: TRACE > 00000: 3a 00 00 00 02 00 00 00 00 00 00 00 d4 07 00 00 : . . . . . . . . . . . . . . . [2015-05-18T20:40:10+00:00] stream: TRACE > 00010: 04 00 00 00 61 64 6d 69 6e 2e 24 63 6d 64 00 00 . . . . a d m i n . $ c m d . . [2015-05-18T20:40:10+00:00] stream: TRACE > 00020: 00 00 00 ff ff ff ff 13 00 00 00 10 69 73 4d 61 . . . . . . . . . . . . i s M a [2015-05-18T20:40:10+00:00] stream: TRACE > 00030: 73 74 65 72 00 01 00 00 00 00 s t e r . . . . . . [2015-05-18T20:40:10+00:00] PHONGO: DEBUG > Setting timeout to: 0 [2015-05-18T20:40:10+00:00] stream: TRACE > EXIT: mongoc_stream_writev():158 [2015-05-18T20:40:10+00:00] buffer: TRACE > ENTRY: _mongoc_buffer_try_append_from_stream():294 [2015-05-18T20:40:10+00:00] stream: TRACE > ENTRY: mongoc_stream_read():260 [2015-05-18T20:40:10+00:00] stream: TRACE > ENTRY: mongoc_stream_readv():220 [2015-05-18T20:40:10+00:00] PHONGO: DEBUG > Setting timeout to: 0 [2015-05-18T20:40:10+00:00] PHONGO: DEBUG > Reading got: 0 wanted: 0 [2015-05-18T20:40:10+00:00] stream: TRACE > readv = 0x7ffc20ad1410 [4] [2015-05-18T20:40:10+00:00] stream: TRACE > 00000: 5a 5a 5a 5a Z Z Z Z [2015-05-18T20:40:10+00:00] stream: TRACE > EXIT: mongoc_stream_readv():231 [2015-05-18T20:40:10+00:00] stream: TRACE > EXIT: mongoc_stream_read():272 [2015-05-18T20:40:10+00:00] buffer: TRACE > EXIT: _mongoc_buffer_try_append_from_stream():324 [2015-05-18T20:40:10+00:00] stream: TRACE > ENTRY: mongoc_stream_failed():75 [2015-05-18T20:40:10+00:00] PHONGO: DEBUG > Destroying RSRC#9 [2015-05-18T20:40:10+00:00] stream: TRACE > EXIT: mongoc_stream_failed():85 [2015-05-18T20:40:10+00:00] mongoc: TRACE > ENTRY: mongoc_topology_description_select():439 [2015-05-18T20:40:10+00:00] mongoc: TRACE > EXIT: mongoc_topology_description_select():453 [2015-05-18T20:40:10+00:00] PHONGO: TRACE > ENTRY: phongo_stream_initiator():1144 [2015-05-18T20:40:10+00:00] PHONGO: DEBUG > Connecting to '192.168.112.10:2000[mongodb://192.168.112.10:2000]' [2015-05-18T20:40:10+00:00] PHONGO: DEBUG > Created: RSRC#12 as '192.168.112.10:2000[mongodb://192.168.112.10:2000]' [2015-05-18T20:40:10+00:00] PHONGO: TRACE > EXIT: phongo_stream_initiator():1268 [2015-05-18T20:40:10+00:00] stream: TRACE > ENTRY: mongoc_stream_failed():75 [2015-05-18T20:40:10+00:00] PHONGO: DEBUG > Destroying RSRC#12 [2015-05-18T20:40:10+00:00] stream: TRACE > EXIT: mongoc_stream_failed():85 [2015-05-18T20:40:10+00:00] mongoc: TRACE > ENTRY: mongoc_topology_description_select():439 [2015-05-18T20:40:10+00:00] mongoc: TRACE > EXIT: mongoc_topology_description_select():453 [2015-05-18T20:40:11+00:00] PHONGO: TRACE > ENTRY: phongo_stream_initiator():1144 [2015-05-18T20:40:11+00:00] PHONGO: DEBUG > Connecting to '192.168.112.10:2000[mongodb://192.168.112.10:2000]' [2015-05-18T20:40:11+00:00] PHONGO: DEBUG > Created: RSRC#13 as '192.168.112.10:2000[mongodb://192.168.112.10:2000]' [2015-05-18T20:40:11+00:00] PHONGO: TRACE > EXIT: phongo_stream_initiator():1268 [2015-05-18T20:40:11+00:00] stream: TRACE > ENTRY: mongoc_stream_failed():75 [2015-05-18T20:40:11+00:00] PHONGO: DEBUG > Destroying RSRC#13 [2015-05-18T20:40:11+00:00] stream: TRACE > EXIT: mongoc_stream_failed():85 [2015-05-18T20:40:11+00:00] mongoc: TRACE > ENTRY: mongoc_topology_description_select():439
- depends on
-
CDRIVER-699 Fail-fast server selection mode
- Closed
- related to
-
CDRIVER-833 mongoc_client_kill_cursor is untested
- Closed
-
PHPC-304 Failed getmore halts for 30seconds
- Closed
-
CDRIVER-716 _mongoc_client_sendv falls back to sending to any server?
- Closed