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

[TSAN failure in 2.14.0 Unit Tests] YbAdminSnapshotScheduleFailoverTests.ClusterRestartDuringRestore #14288

Closed
shamanthchandra-yb opened this issue Oct 3, 2022 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@shamanthchandra-yb
Copy link

shamanthchandra-yb commented Oct 3, 2022

Jira Link: DB-3729

Description

Found number of recent failures: 12

Here is the stacktrace:
https://gist.github.com/shamanthchandra-yb/3eb42c053f76342233d7eee469c15cfb

@shamanthchandra-yb shamanthchandra-yb added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels Oct 3, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Oct 3, 2022
@yugabyte-ci yugabyte-ci removed the status/awaiting-triage Issue awaiting triage label Oct 4, 2022
druzac added a commit that referenced this issue Oct 11, 2022
…est that restart the cluster

Summary:
Keeping the `CassandraSession` object live during the yb cluster restart in these tests exposes a data race in the cassandra-cpp-driver library. This diff drops the connection before doing the restart to avoid the race.

Close the cassandra client before restarting the yb cluster. Having an open cassandra client when restarting a yb cluster exposes a data race in the yb cassandra driver. Follow up to D18376.

Original commits:
- a77c53c / D18376
- a0bae87 / D19383

Test Plan: ybd tsan -n 10 --cxx-test yb-admin-snapshot-schedule-test --gtest_filter '*ClusterRestartDuringRestore*'

Reviewers: msun, skedia

Reviewed By: skedia

Subscribers: slingam, bogdan, ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D19991
@druzac druzac closed this as completed Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

3 participants