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

UUID break old code #1523

Merged
merged 27 commits into from
Oct 23, 2024
Merged

UUID break old code #1523

merged 27 commits into from
Oct 23, 2024

Conversation

rekby
Copy link
Member

@rekby rekby commented Oct 23, 2024

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Other information

Copy link

github-actions bot commented Oct 23, 2024

github.com/ydb-platform/ydb-go-sdk/v3/table/types

incompatible changes

UUIDValue: removed

compatible changes

ErrIssue1501BadUUID: added

summary

Base version: v3.86.1 (master)
Cannot suggest a release version.
Incompatible changes were detected.

@codecov-commenter
Copy link

codecov-commenter commented Oct 23, 2024

Codecov Report

Attention: Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.

Project coverage is 71.05%. Comparing base (a89f8a4) to head (a33a5f2).

Files with missing lines Patch % Lines
internal/value/value.go 92.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1523      +/-   ##
==========================================
+ Coverage   70.94%   71.05%   +0.11%     
==========================================
  Files         356      356              
  Lines       37550    37531      -19     
==========================================
+ Hits        26638    26666      +28     
+ Misses       9793     9760      -33     
+ Partials     1119     1105      -14     
Flag Coverage Δ
experiment 70.86% <94.44%> (+0.08%) ⬆️
go-1.21.x 70.45% <94.44%> (+0.14%) ⬆️
go-1.22.x 68.54% <94.44%> (+0.12%) ⬆️
go-1.23.x 71.00% <94.44%> (+0.09%) ⬆️
integration 52.12% <88.88%> (+0.35%) ⬆️
macOS 41.03% <66.66%> (+0.02%) ⬆️
ubuntu 71.05% <94.44%> (+0.11%) ⬆️
unit 41.05% <66.66%> (+0.01%) ⬆️
windows 41.03% <66.66%> (+0.01%) ⬆️
ydb-23.3 47.81% <88.88%> (+0.14%) ⬆️
ydb-24.1 51.79% <88.88%> (+0.07%) ⬆️
ydb-24.2 52.03% <88.88%> (+0.41%) ⬆️
ydb-nightly 70.86% <94.44%> (+0.08%) ⬆️

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.

@@ -1,5 +1,9 @@
* BREAK OLD STYLE WORK WITH UUID. See https://github.com/ydb-platform/ydb-go-sdk/issues/1501 for details.
At the version you must explicit choose way for work with uuid: old with bug or new (fixed).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
At the version you must explicit choose way for work with uuid: old with bug or new (fixed).
This version, you must explicit choose way to work with uuid: old, with bug, or new (fixed).

## v3.86.0
* Add workaround for bug in uuid send/receive from server. It is migration version. All native code and most database sql code worked with uuid continue to work.
Dedicated version for migrate code for workaround/fix uuid bug. See https://github.com/ydb-platform/ydb-go-sdk/issues/1501 for details.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Dedicated version for migrate code for workaround/fix uuid bug. See https://github.com/ydb-platform/ydb-go-sdk/issues/1501 for details.
Dedicated version to enable code migration from buggy way of sending UUID data to server to correct implementation. See https://github.com/ydb-platform/ydb-go-sdk/issues/1501 for details.

# Conflicts:
#	CHANGELOG.md
@rekby rekby changed the title UUID fix break UUID break old code Oct 23, 2024
Copy link

github-actions bot commented Oct 23, 2024

🌋 Here are results of SLO test for Go SDK database/sql:

Grafana Dashboard

SLO-database-sql

Copy link

github-actions bot commented Oct 23, 2024

🌋 Here are results of SLO test for Native ydb-go-sdk/v3 over query-service:

Grafana Dashboard

SLO-native-query

Copy link

github-actions bot commented Oct 23, 2024

🌋 Here are results of SLO test for Native ydb-go-sdk/v3 over table-service:

Grafana Dashboard

SLO-native-table

Copy link

github-actions bot commented Oct 23, 2024

🌋 Here are results of SLO test for Go SDK xorm:

Grafana Dashboard

SLO-xorm

Copy link

github-actions bot commented Oct 23, 2024

🌋 Here are results of SLO test for Go SDK gorm:

Grafana Dashboard

SLO-gorm

@rekby rekby merged commit 5b9945c into master Oct 23, 2024
44 checks passed
@rekby rekby deleted the uuid-fix-break branch October 23, 2024 12:06
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.

3 participants