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

ReqlDriverError: query cancelled #8

Closed
gustavopch opened this issue Nov 26, 2018 · 2 comments
Closed

ReqlDriverError: query cancelled #8

gustavopch opened this issue Nov 26, 2018 · 2 comments

Comments

@gustavopch
Copy link

gustavopch commented Nov 26, 2018

When doing cursor.close(), the error ReqlDriverError: query cancelled gets printed to the console.

const cursor = await r
  .table('orders')
  .run()

cursor.close()

What is the expected way to close a cursor of a changefeed?

@ronzeidman
Copy link

This is the expected way of closing a changefeed, the query cancelled exception is sent to all the cursor listeners by design, you can disable the logging but setting the silent variable to true.

The question is since it's an expected behavior even though it is an exception, should skip logging it. I think you're right and I'll skip logging this specific error, but since it's not critical the fix will be available in the next version.

ronzeidman added a commit that referenced this issue Jan 24, 2019
issue #12: added buffer to indexCreate
issue #10: nth on selection should return single selection
@ronzeidman
Copy link

try 2.4.0-rc.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants