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

Close cursor #102

Merged
merged 3 commits into from
Jan 29, 2019
Merged

Close cursor #102

merged 3 commits into from
Jan 29, 2019

Conversation

bpintea
Copy link
Collaborator

@bpintea bpintea commented Jan 29, 2019

With this PR the driver will close a cursor received from ES/SQL
when the statement is closed (i.e. IRD cleared). This should release
faster any resources running against a timer in ES.

An integration test had been added for it as well.

The integration tests "framework" got a new CLI paramter, to force
data-reindexing. Also, the "ephemeral" paramter nwo controls the driver
uninstallation too.

The advertised driver capabilities are also updated to reflect the
progress on ES/SQL side.

With this commit the driver will close a cursor received from ES/SQL
when the statement is closed (i.e. IRD cleared). This should release
faster any resources running against a timer in ES.

An integration test had been added for it as well.

The integration tests "framework" got a new CLI paramter, to force
data-reindexing. Also, the "ephemeral" paramter nwo controls the driver
uninstallation too.

The advertised driver capabilities are also updated to reflect the
progress on ES/SQL side.
Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, although I noticed a typo in a help string

test/integration/ites.py Outdated Show resolved Hide resolved
@bpintea bpintea merged commit af31b05 into elastic:master Jan 29, 2019
@bpintea bpintea deleted the feature/close_cursor branch January 29, 2019 17:39
bpintea added a commit that referenced this pull request Jan 29, 2019
* cursor closing on statement closing

With this commit the driver will close a cursor received from ES/SQL
when the statement is closed (i.e. IRD cleared). This should release
faster any resources running against a timer in ES.

An integration test had been added for it as well.

The integration tests "framework" got a new CLI paramter, to force
data-reindexing. Also, the "ephemeral" paramter nwo controls the driver
uninstallation too.

The advertised driver capabilities are also updated to reflect the
progress on ES/SQL side.

* remove stale comment

* fix typo in help string

(cherry picked from commit af31b05)
@bpintea bpintea mentioned this pull request Jan 29, 2019
@bpintea bpintea mentioned this pull request Mar 14, 2019
Closed
@bpintea bpintea added >feature Applicable to PRs adding new functionality and removed >enhancement labels May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>feature Applicable to PRs adding new functionality v6.7.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants