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

[Backport 2.x] Improve error handling for malformed query cursors #3084

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 7477fd8 from #3066.

* Add reproducer for malformed cursor handling

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Handle malformed query cursors

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Move malformed cursor test to correct file

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Apply spotless

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

---------

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
(cherry picked from commit 7477fd8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Swiddis
Copy link
Collaborator

Swiddis commented Oct 18, 2024

Test fix is in #3072

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.49%. Comparing base (79f9be0) to head (204536e).
Report is 8 commits behind head on 2.x.

Additional details and impacted files
@@            Coverage Diff            @@
##                2.x    #3084   +/-   ##
=========================================
  Coverage     94.49%   94.49%           
  Complexity     5420     5420           
=========================================
  Files           529      529           
  Lines         15461    15461           
  Branches       1010     1010           
=========================================
  Hits          14610    14610           
  Misses          804      804           
  Partials         47       47           
Flag Coverage Δ
sql-engine 94.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Swiddis Swiddis merged commit 3cd7702 into 2.x Oct 23, 2024
29 of 49 checks passed
@Swiddis Swiddis deleted the backport/backport-3066-to-2.x branch October 23, 2024 18:21
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

Successfully merging this pull request may close these issues.

2 participants