Skip to content
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

Investigate test failure with order_by.limit changefeed #5247

Closed
danielmewes opened this issue Dec 31, 2015 · 7 comments
Closed

Investigate test failure with order_by.limit changefeed #5247

danielmewes opened this issue Dec 31, 2015 · 7 comments
Assignees
Milestone

Comments

@danielmewes
Copy link
Member

I'm currently working on a fuzzing test for a few additional changefeed queries (currently available at

#$tbl.order_by(index: :id).limit(5),
). If I enable the query $tbl.order_by(index: :id).limit(5), the test gets stuck.

Maybe the changefeed never becomes ready?

@danielmewes danielmewes added this to the 2.2.x milestone Dec 31, 2015
@danielmewes
Copy link
Member Author

The test is at

#$tbl.order_by(index: :id).limit(5),

@danielmewes
Copy link
Member Author

The server also gets stuck in "Shutting down client connections..." during shutdown and must be killed.

@danielmewes
Copy link
Member Author

The issue of rethinkdb not shutting down can seemingly be resolved by replacing line 2687 in changefeed.cc by

nap(50, env->interruptor);

(the interruptor was added)

However the test still hangs, so I suspect that something else is wrong.

@mlucy
Copy link
Member

mlucy commented Jan 4, 2016

This appears to be caused by the .orderby.limit changefeed preventing one or more of the range changefeeds from becoming ready. .orderby.limit changefeed messages consume timestamps from the same pool as the range changefeed messages, so there's probably somewhere where we're expecting sequential timestamps but not getting them.

@mlucy
Copy link
Member

mlucy commented Jan 5, 2016

A fix for this is in CR 3408 by @danielmewes .

@mlucy mlucy added the st:review label Jan 5, 2016
@danielmewes danielmewes modified the milestones: 2.2.3, 2.2.x Jan 7, 2016
@danielmewes
Copy link
Member Author

Moving this into the 2.2.3 release. Since we couldn't release last week because of some technical issues, we are going to retag and release 2.2.3 with two additional bug fixes instead.

@mlucy
Copy link
Member

mlucy commented Jan 7, 2016

This is in next and 2.2.x.

@mlucy mlucy closed this as completed Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants