New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter().changes() order by "time" index breaks down the db #5081
Comments
Thanks for reporting this @lijialing888, and sorry you had to run into this. To reproduce, I used the following queries: r.tableCreate('t1')
r.table('t1').indexCreate('t')
r.table('t1').insert({t: r.now()})
r.table('t1').insert({t: r.now()})
r.table('t1').orderBy({index: r.desc("t")}).limit(1).changes()
// While the changefeed is active:
r.table('t1').insert({t: r.now()})
r.table('t1').insert({t: r.now()}) The exact number of documents you need to insert before / after starting the changefeed might vary a bit. Backtrace from 2.2.0:
|
Assigning @mlucy |
Thanks for the bug report! I think we tracked this down, a fix is in CR 3336 by @danielmewes . |
This fix is in next and 2.2.x. |
Hi @mlucy and @danielmewes ,
|
@lijialing888 Pretty sure that's the same problem. We've just released RethinkDB 2.2.1 with a fix for this. Could you upgrade to that version and try again? You might want to read the 2.2.0 release notes for details on backwards compatiblity and migration: https://github.com/rethinkdb/rethinkdb/releases/tag/v2.2.0 |
Hi guys,
I run 2 processes: 1 to write records, 1 to listen the changes. When I make order by the "createTime" index will make the db break down.
But order by other index (like integer) is fine.
Write node script:
Listener node script:
Error Message:
rethinkdb 2.1.5+2~0precise (GCC 4.6.3)
error: Error in src/arch/runtime/thread_pool.cc at line 359:
error: Segmentation fault from reading the address 0x8.
error: Backtrace:
Enviroment:
uname -a
Linux ubuntu-ljl 3.13.0-68-generic #111~precise1-Ubuntu SMP Fri Nov 6 18:17:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
rethinkdb --version
rethinkdb 2.1.5+2~0precise (GCC 4.6.3)
The text was updated successfully, but these errors were encountered: