{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4500","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4500/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4500/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4500/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/4500","id":93024000,"number":4500,"title":"Change feed does not work properly with slice()","user":{"login":"coldume","id":5236124,"avatar_url":"https://avatars.githubusercontent.com/u/5236124?v=3","gravatar_id":"","url":"https://api.github.com/users/coldume","html_url":"https://github.com/coldume","followers_url":"https://api.github.com/users/coldume/followers","following_url":"https://api.github.com/users/coldume/following{/other_user}","gists_url":"https://api.github.com/users/coldume/gists{/gist_id}","starred_url":"https://api.github.com/users/coldume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coldume/subscriptions","organizations_url":"https://api.github.com/users/coldume/orgs","repos_url":"https://api.github.com/users/coldume/repos","events_url":"https://api.github.com/users/coldume/events{/privacy}","received_events_url":"https://api.github.com/users/coldume/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/19","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/notabug","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/19/labels","id":299349,"number":19,"title":"notabug","description":"It's a feature. The issue describes a RethinkDB feature or design choice as if it was a bug.","creator":{"login":"AtnNn","id":706854,"avatar_url":"https://avatars.githubusercontent.com/u/706854?v=3","gravatar_id":"","url":"https://api.github.com/users/AtnNn","html_url":"https://github.com/AtnNn","followers_url":"https://api.github.com/users/AtnNn/followers","following_url":"https://api.github.com/users/AtnNn/following{/other_user}","gists_url":"https://api.github.com/users/AtnNn/gists{/gist_id}","starred_url":"https://api.github.com/users/AtnNn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtnNn/subscriptions","organizations_url":"https://api.github.com/users/AtnNn/orgs","repos_url":"https://api.github.com/users/AtnNn/repos","events_url":"https://api.github.com/users/AtnNn/events{/privacy}","received_events_url":"https://api.github.com/users/AtnNn/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":110,"state":"closed","created_at":"2013-03-29T21:07:05Z","updated_at":"2015-09-25T21:19:49Z","due_on":null,"closed_at":"2013-05-13T23:08:44Z"},"comments":7,"created_at":"2015-07-04T15:55:42Z","updated_at":"2015-10-01T20:51:14Z","closed_at":"2015-07-07T02:14:06Z","body":"To repeat the problem:\r\n```javascript\r\n// Run in window 1.\r\nr.tableCreate('user')\r\n// Run in window 2.\r\nr.table('user').orderBy({ index: r.desc('id') }).limit(100).changes().slice(5, 10)\r\n\r\n// Run in window 1, repeat 10 times and insert 10 records. Change feed works expected in window 2 \r\nr.table('user').insert({ name: 'foo' })\r\n// Run in window 1. Change feed closed and does not work in window 2 \r\nr.table('user').delete()\r\n```\r\n\r\nI have tested this on linux and osx, and have the same result, change feed upaded and works as expected when inserting data, but closed when you deleting more than 5 records. Is it intended or am I doing it wrong? Thanks.\r\n\r\nP.S, the following alternative works:\r\n\r\n```javascript\r\nr.table('user').orderBy({ index: r.desc('id') }).limit(10).changes().skip(5)\r\n```"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/144844392","html_url":"https://github.com/rethinkdb/rethinkdb/issues/4500#issuecomment-144844392","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4500","id":144844392,"user":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T20:51:14Z","updated_at":"2015-10-01T20:51:14Z","body":"I think it's not too hard. I'm going to open a new issue for the feature request."}}