Client 1: ``` js r.table('test').orderBy({index: "id"}).limit(1).filter({v: true}).changes() ``` Client 2: ``` js r.table('test').insert({id: 2, v: true}) // Value appears on changefeed r.table('test').insert({id: 1, v: false}) // Nothing appears on changefeed // Would expect: {old_val: {id: 2, v: true}, new_val: null} ``` If this is hard to fix, we should probably just detect and disallow a filter after an `orderBy.limit` in a changefeed. (mentioning @mlucy)
Activity
mlucy commentedon Jan 29, 2016
Good catch. I think we should just disallow
.orderBy.limit.filter.danielmewes commentedon Jan 29, 2016
Agreed. Sounds good to me.
nighelles commentedon Feb 12, 2016
In review 3474, branch nighelles/5325.
Disallowing a filter after a limit in a changefeed for #5325
nighelles commentedon Feb 22, 2016
This is in next.
Disallowing a filter after a limit in a changefeed for rethinkdb#5325