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

roachtest/awsdms: add no pk full load test case #95518

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

Jeremyyang920
Copy link
Collaborator

This commit adds a new test case that will attempt a full load on a table with no primary key. We will
assert that there is a table error with the full
load.

Fixes: #95328

Release note: None

@Jeremyyang920 Jeremyyang920 requested a review from otan January 19, 2023 17:40
@Jeremyyang920 Jeremyyang920 requested a review from a team as a code owner January 19, 2023 17:40
@Jeremyyang920 Jeremyyang920 requested review from herkolategan and smg260 and removed request for a team January 19, 2023 17:40
@cockroach-teamcity
Copy link
Member

This change is Reviewable

This commit adds a new test case that will attempt a
full load on a table with no primary key. We will
assert that there is a table error with the full
load.

Fixes: cockroachdb#95328

Release note: None
@Jeremyyang920
Copy link
Collaborator Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jan 19, 2023

Build succeeded:

@craig craig bot merged commit ba572fc into cockroachdb:master Jan 19, 2023
@Jeremyyang920 Jeremyyang920 deleted the add_dms_no_pk_test branch January 20, 2023 00:48
Jeremyyang920 added a commit to Jeremyyang920/cockroach that referenced this pull request Jan 26, 2023
In cockroachdb#95518, we added a new test case to check for a table error
during the DMS process. However there is a race when the check
happens depending on how quickly tasks have ran and the task
ReplicationTaskStats can be nil and we tried to access field
on the nil object that was returned from the API call.

This commit checks that the ReplicationTaskStat is not nil
before accessing the TablesErrored property.

Fixes: cockroachdb#93305
Release note: None
craig bot pushed a commit that referenced this pull request Jan 26, 2023
95839: colinfo: add missing type families into CanHaveCompositeKeyEncoding r=yuzefovich a=yuzefovich

This commit adds several missing type families into `CanHaveCompositeKeyEncoding` method. Some of these type families are internal and, probably, don't need to be handled, but we recently introduced TSVector and TSQuery types which were incorrectly marked as being composite since they were not mentioned explicitly in the type family switch. This commit also makes it so that we panic in this method if we forget to include a newly-introduced type into this switch.

Fixes: #95680.

Release note: None

95900: ui: add check for cpu usage r=maryliag a=maryliag

Add a check, for cases when the value might no be
returned (cluster with mixed versions).

Part Of #87213

Release note: None

96005: colfetcher: disable direct columnar scans for now r=yuzefovich a=yuzefovich

This commit disables direct columnar scans which are now randomly enabled in tests due to this feature having a data race at the moment.

Informs: #95937.

Release note: None

96008: roachtest/awsdms: fix race condition that can cause panics r=otan a=Jeremyyang920

In #95518, we added a new test case to check for a table error during the DMS process. However there is a race when the check happens depending on how quickly tasks have ran and the task ReplicationTaskStats can be nil and we tried to access field on the nil object that was returned from the API call.

This commit checks that the ReplicationTaskStat is not nil before accessing the TablesErrored property.

Fixes: #93305
Release note: None

96009: binfetcher: fix binary downloading for arm64 MacOS r=rail a=andyyang890

This patch updates the suffix used to fetch arm64 MacOS binaries
to match the naming scheme used to build releases.

Epic: None

Release note: None

96020: roachtest: use teardown log when creating GitHub issue r=herkolategan a=renatolabs

This is a follow up of #95831. The logger passed to the `githubIssues`
struct writes to the test runner logger, which is not ideal. This
changes the logger passed to use the `teardown` logger, so log entries
related to GitHub issue creation are in the same directory as the
failing test itself.

Epic: None

Release note: None

Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: maryliag <[email protected]>
Co-authored-by: Jeremy Yang <[email protected]>
Co-authored-by: Andy Yang <[email protected]>
Co-authored-by: Renato Costa <[email protected]>
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.

roachtest: add DMS tests for no PK case
3 participants