)]}'
{"marconi/storage/mongodb/messages.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"a3af3b92a17ac0b5b17f1a3230c78387a7a7fd05","unresolved":false,"context_lines":[{"line_number":343,"context_line":"        # NOTE(kgriffs): Claimed messages bust be queried from"},{"line_number":344,"context_line":"        # the primary to avoid a race condition caused by the"},{"line_number":345,"context_line":"        # multi-phased \"create claim\" algorithm."},{"line_number":346,"context_line":"        preference \u003d pymongo.read_preferences.ReadPreference.PRIMARY"},{"line_number":347,"context_line":"        msgs \u003d self._col.find(query, sort\u003d[(\u0027k\u0027, 1)],"},{"line_number":348,"context_line":"                              read_preference\u003dpreference)"},{"line_number":349,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAASn%2F%2FWf4%3D","line":346,"updated":"2013-09-05 20:48:28.000000000","message":"What happens if we\u0027re talking to a mongos instead of a replica?","commit_id":"8d544d643dfa79634813052292bfeacf9a268be9"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3dc73802a3368f25b3d5199c47b905aaf213cef2","unresolved":false,"context_lines":[{"line_number":343,"context_line":"        # NOTE(kgriffs): Claimed messages bust be queried from"},{"line_number":344,"context_line":"        # the primary to avoid a race condition caused by the"},{"line_number":345,"context_line":"        # multi-phased \"create claim\" algorithm."},{"line_number":346,"context_line":"        preference \u003d pymongo.read_preferences.ReadPreference.PRIMARY"},{"line_number":347,"context_line":"        msgs \u003d self._col.find(query, sort\u003d[(\u0027k\u0027, 1)],"},{"line_number":348,"context_line":"                              read_preference\u003dpreference)"},{"line_number":349,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAASn%2F%2FUNw%3D","line":346,"in_reply_to":"AAAASn%2F%2FWf4%3D","updated":"2013-09-06 14:16:37.000000000","message":"\"Read preference modes are also available to clients connecting to a sharded cluster through a mongos. The mongos instance obeys specified read preferences when connecting to the replica set that provides each shard in the cluster.\"\n\nhttp://docs.mongodb.org/manual/core/read-preference/","commit_id":"8d544d643dfa79634813052292bfeacf9a268be9"}]}
