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

[release-17.0] Fix a number of encoding issues when evaluating expressions with the evalengine (#13509) #13551

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

vitess-bot[bot]
Copy link
Contributor

@vitess-bot vitess-bot bot commented Jul 19, 2023

Description

This is a backport of #13509

@vitess-bot vitess-bot bot added Backport This is a backport Component: Build/CI Component: Evalengine changes to the evaluation engine Component: Query Serving Merge Conflict Skip CI Skip CI actions from running Type: Bug labels Jul 19, 2023
@vitess-bot
Copy link
Contributor Author

vitess-bot bot commented Jul 19, 2023

Review Checklist

Hello reviewers! 👋 Please follow this checklist when reviewing this Pull Request.

General

  • Ensure that the Pull Request has a descriptive title.
  • If this is a change that users need to know about, please apply the release notes (needs details) label so that merging is blocked unless the summary release notes document is included.
  • If a test is added or modified, there should be a documentation on top of the test to explain what the expected behavior is what the test does.

If a new flag is being introduced:

  • Is it really necessary to add this flag?
  • Flag names should be clear and intuitive (as far as possible)
  • Help text should be descriptive.
  • Flag names should use dashes (-) as word separators rather than underscores (_).

If a workflow is added or modified:

  • Each item in Jobs should be named in order to mark it as required.
  • If the workflow should be required, the maintainer team should be notified.

Bug fixes

  • There should be at least one unit or end-to-end test.
  • The Pull Request description should include a link to an issue that describes the bug.

Non-trivial changes

  • There should be some code comments as to why things are implemented the way they are.

New/Existing features

  • Should be documented, either by modifying the existing documentation or creating new documentation.
  • New features should have a link to a feature request issue or an RFC that documents the use cases, corner cases and test cases.

Backward compatibility

  • Protobuf changes should be wire-compatible.
  • Changes to _vt tables and RPCs need to be backward compatible.
  • vtctl command output order should be stable and awk-able.
  • RPC changes should be compatible with vitess-operator
  • If a flag is removed, then it should also be removed from VTop, if used there.

@vitess-bot
Copy link
Contributor Author

vitess-bot bot commented Jul 19, 2023

Hello @dbussink, there are conflicts in this backport.

Please address them in order to merge this Pull Request. You can execute the snippet below to reset your branch and resolve the conflict manually.

Make sure you replace origin by the name of the vitessio/vitess remote

git fetch --all
gh pr checkout 13551 -R vitessio/vitess
git reset --hard origin/release-17.0
git cherry-pick -m 1 694ffe8928dca4c89e0e55b008ed470e1afd44b5

@vitess-bot vitess-bot bot added NeedsDescriptionUpdate The description is not clear or comprehensive enough, and needs work NeedsIssue A linked issue is missing for this Pull Request NeedsWebsiteDocsUpdate What it says labels Jul 19, 2023
@github-actions github-actions bot added this to the v17.0.1 milestone Jul 19, 2023
@dbussink dbussink force-pushed the backport-13509-to-release-17.0 branch from e422b9d to 1322e9b Compare July 20, 2023 08:37
@dbussink dbussink removed NeedsDescriptionUpdate The description is not clear or comprehensive enough, and needs work NeedsWebsiteDocsUpdate What it says Skip CI Skip CI actions from running NeedsIssue A linked issue is missing for this Pull Request Merge Conflict labels Jul 20, 2023
@dbussink dbussink marked this pull request as ready for review July 20, 2023 08:38
@dbussink dbussink force-pushed the backport-13509-to-release-17.0 branch 3 times, most recently from 8c3ffe7 to 19559dd Compare July 20, 2023 13:57
@frouioui frouioui mentioned this pull request Jul 25, 2023
28 tasks
@dbussink dbussink force-pushed the backport-13509-to-release-17.0 branch from 19559dd to 36b88d7 Compare July 26, 2023 07:55
@harshit-gangal
Copy link
Member

harshit-gangal commented Jul 26, 2023

I did not review the original PR, but it is a backport of the PR on main and fixing bugs with the evaluation engine. Hence approving it.

Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

This is a huge change to merge to a maintenance release. The risk is that we unintentionally break something.
I'm actually less worried about query serving functionality itself, but I notice two things.

  • The original PR was not reviewed by @rohit-nayak-ps / @mattlord for the vreplication side of things.
  • We did not benchmark it
    Let's do these two things and then maybe it'll be fine to back port.

@deepthi deepthi added the Benchmark me Add label to PR to run benchmarks label Jul 26, 2023
@arewefastyet
Copy link

arewefastyet bot commented Jul 26, 2023

Hello! 👋

This Pull Request is now handled by arewefastyet. The current HEAD and future commits will be benchmarked.

You can find the performance comparison on the arewefastyet website.

@frouioui frouioui modified the milestones: v17.0.1, v17.0.2 Jul 28, 2023
Copy link
Contributor

@mattlord mattlord left a comment

Choose a reason for hiding this comment

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

I'm good with the backport for VReplication. This should help with VDiffs. We're adding a couple of small (expected) fields in the querypb.Result related fields so I don't expect any noticeable performance impact.

@mattlord mattlord mentioned this pull request Aug 14, 2023
19 tasks
@dbussink
Copy link
Contributor

  • We did not benchmark it
    Let's do these two things and then maybe it'll be fine to back port.

These things are looking good as well. Going to discard the change requested and get this merged then!

@dbussink dbussink dismissed deepthi’s stale review August 15, 2023 06:41

Comments have been addressed.

Signed-off-by: Dirkjan Bussink <[email protected]>
@dbussink dbussink force-pushed the backport-13509-to-release-17.0 branch from 36b88d7 to 5bb1187 Compare August 15, 2023 06:42
@dbussink dbussink merged commit 07fa9d5 into release-17.0 Aug 15, 2023
220 of 221 checks passed
@dbussink dbussink deleted the backport-13509-to-release-17.0 branch August 15, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport This is a backport Benchmark me Add label to PR to run benchmarks Component: Build/CI Component: Evalengine changes to the evaluation engine Component: Query Serving Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants