mongodb/mongo — pull request #767 by siying (2014-09-06 00:20:07+00:00)
Title: SERVER-15161 RocksCursor::_reverseLocate() should seek to last if can't find the key

This patch will fix following tests:

jstests/core/fts2.js
jstests/core/fts3.js
jstests/core/fts4.js
jstests/core/fts5.js
jstests/core/fts6.js
jstests/core/fts_blog.js
jstests/core/fts_blogwild.js
jstests/core/fts_enabled.js
jstests/core/fts_explain.js
jstests/core/fts_index3.js
jstests/core/fts_index.js
jstests/core/fts_index_version1.js
jstests/core/fts_mix.js
jstests/core/fts_partition1.js
jstests/core/fts_partition_no_multikey.js
jstests/core/fts_phrase.js
jstests/core/fts_projection.js
jstests/core/fts_proj.js
jstests/core/fts_querylang.js
jstests/core/fts_score_sort.js
jstests/core/fts_spanish.js
(maybe more).

We should position Rocks cursor to the last entry if seek returns !Valid() for backward case.