lib/mongo/operation/parallel_scan/op_msg.rb in mongo-2.9.2 vs lib/mongo/operation/parallel_scan/op_msg.rb in mongo-2.10.0.rc0

- old
+ new

@@ -29,10 +29,13 @@ private def selector(server) sel = { :parallelCollectionScan => coll_name, :numCursors => cursor_count } sel[:maxTimeMS] = max_time_ms if max_time_ms - sel[:readConcern] = read_concern if read_concern + if read_concern + sel[:readConcern] = Options::Mapper.transform_values_to_strings( + read_concern) + end sel end end end end